Windows Cache Extension for PHP 更多介紹
Jun 06, 2016 pm 07:51 PM今天IIS團(tuán)隊(duì)發(fā)布了Windows Cache Extension 1.0 for PHP的beta測(cè)試版,這是用來提高PHP應(yīng)用跑在Windows系統(tǒng)上的速度的PHP加速器。任何PHP應(yīng)用程序不需要修改任何代碼都可以用它來提速,所需做的只是在PHP引擎里啟用這個(gè)擴(kuò)展。 安裝 Windows Cache Extension

今天IIS團(tuán)隊(duì)發(fā)布了Windows Cache Extension 1.0 for PHP的beta測(cè)試版,這是用來提高PHP應(yīng)用跑在Windows系統(tǒng)上的速度的PHP加速器。任何PHP應(yīng)用程序不需要修改任何代碼都可以用它來提速,所需做的只是在PHP引擎里啟用這個(gè)擴(kuò)展。
安裝 Windows Cache Extension 1.0 for PHP - Beta ?
或下載:
Windows Cache Extension 1.0 for PHP 5.2 - Beta
Windows Cache Extension 1.0 for PHP 5.3 - Beta
按照"Using Windows Cache Extension for PHP"文章里的指示來安裝、啟用和配置這個(gè)擴(kuò)展。
注意:
- 該擴(kuò)展只能用于PHP的non-thread-safe版本
- 該擴(kuò)展只能用于以FastCGI方式運(yùn)行在IIS上的PHP
- Windows Cache Extension 1.0 for PHP 5.3只能用于PHP5.3的x86 VC9版本
特性:
- 支持PHP 5.2和PHP 5.3
- 提供PHP函數(shù)獲得cache狀態(tài)信息
該擴(kuò)展包含3個(gè)可以被分別啟用或禁用的緩存特性:
- PHP opcode cache -PHP是一個(gè)腳本處理引擎,它閱讀包含文本和/或PHP指令的輸入流,并產(chǎn)生另一個(gè)數(shù)據(jù)流(通常是HTML格式)。這意味著在一個(gè)web服務(wù)器上PHP引擎對(duì)每一次來自瀏覽器客戶端的請(qǐng)求都要讀入、解析、編譯和執(zhí)行一遍PHP腳本。讀入、解析和編譯操作給web服務(wù)器的CPU和文件系統(tǒng)帶來額外的負(fù)載,影響PHP網(wǎng)頁應(yīng)用的總體效能。PHP opcode (字節(jié)碼) cache用來在共享內(nèi)存里緩存編譯好的腳本字節(jié)碼,以便同一腳本文件的后續(xù)請(qǐng)求可以被PHP引擎重用。
- File cache-即使PHP字節(jié)碼緩存啟用,PHP引擎還需要訪問文件系統(tǒng)里的腳本文件。當(dāng)PHP腳本存儲(chǔ)在遠(yuǎn)程UNC文件共享時(shí),文件操作會(huì)帶來顯著的性能開銷。Windows Cache Extension forPHP的文件緩存可以把PHP腳本文件的內(nèi)容緩存在共享內(nèi)存里,減少PHP引擎的文件系統(tǒng)操作。
- Relative file path cache-PHP腳本頻繁使用相對(duì)路徑include或操作文件。每個(gè)相對(duì)文件路徑需要被PHP引擎轉(zhuǎn)換成絕對(duì)文件路徑。當(dāng)PHP應(yīng)用以相對(duì)路徑使用很多PHP文件時(shí),解析相對(duì)路徑到絕對(duì)路徑的操作會(huì)影響性能。Windows Cache Extension forPHP提供相對(duì)文件路徑緩存,減少PHP引擎需要進(jìn)行的轉(zhuǎn)換數(shù)量。
更多信息
- Windows Cache Extension for PHP on IIS.NET
- Using Windows Cache Extension for PHP
您可以使用Windows Cache Extension for PHP Forum,mailto:iisphp或在本文后留言來提問、匯報(bào)問題或提供特性反饋建議等。

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

ToresolvenetworkconnectivityissuesinWindows,resettheTCP/IPstackbyfirstopeningCommandPromptasAdministrator,thenrunningthecommandnetshintipreset,andfinallyrestartingyourcomputertoapplychanges;ifissuespersist,optionallyrunnetshwinsockresetandrebootagain

Linux is suitable for old hardware, has high security and is customizable, but has weak software compatibility; Windows software is rich and easy to use, but has high resource utilization. 1. In terms of performance, Linux is lightweight and efficient, suitable for old devices; Windows has high hardware requirements. 2. In terms of software, Windows has wider compatibility, especially professional tools and games; Linux needs to use tools to run some software. 3. In terms of security, Linux permission management is stricter and updates are convenient; although Windows is protected, it is still vulnerable to attacks. 4. In terms of difficulty of use, the Linux learning curve is steep; Windows operation is intuitive. Choose according to requirements: choose Linux with performance and security, and choose Windows with compatibility and ease of use.

Hyper-VcanbeenabledonWindowsPro,Enterprise,orEducationeditionsbymeetingsystemrequirementsincluding64-bitCPUwithSLAT,VMMonitorModeExtension,BIOS/UEFIvirtualizationenabled,andatleast4GBRAM.2.EnableHyper-VviaWindowsFeaturesbyopeningoptionalfeatures,chec

Right-clickthedesktopandselect"Displaysettings"toopenthedisplayoptions.2.Underthe"Display"section,clickthe"Displayresolution"dropdownandchoosearesolution,preferablytherecommendedoneforbestimagequality.3.Confirmthechanges

Checkifthetouchpadisdisabledbyusingthefunctionkey(Fn F6/F9/F12),adedicatedtogglebutton,orensuringit’sturnedoninSettings>Devices>Touchpad,andunplugexternalmice.2.UpdateorreinstallthetouchpaddriverviaDeviceManagerbyselectingUpdatedriverorUninstal

OpenDeviceManagerbypressingWin XandselectingitorsearchingintheStartmenu.2.Locatetheproblematicdevice—suchasDisplayadapters,Soundvideoandgamecontrollers,Networkadapters,orinputdevices—right-clickitandselectProperties.3.GototheDrivertabandclick“RollBac

VerifytheWindowsISOisfromMicrosoftandrecreatethebootableUSBusingtheMediaCreationToolorRufuswithcorrectsettings;2.Ensurehardwaremeetsrequirements,testRAMandstoragehealth,anddisconnectunnecessaryperipherals;3.ConfirmBIOS/UEFIsettingsmatchtheinstallatio

Windowsdoesnotnativelysupportpermanentlysavingprocessoraffinityforapplications,butyoucanachievepersistentaffinityusingscriptsorthird-partytools.1.ProcessoraffinitybindsaprocesstospecificCPUcores,improvingperformanceorthermalmanagement,thoughWindowsre
