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è)試版,這是用來(lái)提高PHP應(yīng)用跑在Windows系統(tǒng)上的速度的PHP加速器。任何PHP應(yīng)用程序不需要修改任何代碼都可以用它來(lái)提速,所需做的只是在PHP引擎里啟用這個(gè)擴(kuò)展。 安裝 Windows Cache Extension

今天IIS團(tuán)隊(duì)發(fā)布了Windows Cache Extension 1.0 for PHP的beta測(cè)試版,這是用來(lái)提高PHP應(yīng)用跑在Windows系統(tǒng)上的速度的PHP加速器。任何PHP應(yīng)用程序不需要修改任何代碼都可以用它來(lái)提速,所需做的只是在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"文章里的指示來(lái)安裝、啟用和配置這個(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ì)每一次來(lái)自瀏覽器客戶端的請(qǐng)求都要讀入、解析、編譯和執(zhí)行一遍PHP腳本。讀入、解析和編譯操作給web服務(wù)器的CPU和文件系統(tǒng)帶來(lái)額外的負(fù)載,影響PHP網(wǎng)頁(yè)應(yīng)用的總體效能。PHP opcode (字節(jié)碼) cache用來(lái)在共享內(nèi)存里緩存編譯好的腳本字節(jié)碼,以便同一腳本文件的后續(xù)請(qǐng)求可以被PHP引擎重用。
- File cache-即使PHP字節(jié)碼緩存啟用,PHP引擎還需要訪問(wèn)文件系統(tǒng)里的腳本文件。當(dāng)PHP腳本存儲(chǔ)在遠(yuǎn)程UNC文件共享時(shí),文件操作會(huì)帶來(lái)顯著的性能開(kāi)銷。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或在本文后留言來(lái)提問(wèn)、匯報(bào)問(wèn)題或提供特性反饋建議等。

熱AI工具

Undress AI Tool
免費(fèi)脫衣圖片

Undresser.AI Undress
人工智慧驅(qū)動(dòng)的應(yīng)用程序,用於創(chuàng)建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費(fèi)的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門(mén)文章

熱工具

記事本++7.3.1
好用且免費(fèi)的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強(qiáng)大的PHP整合開(kāi)發(fā)環(huán)境

Dreamweaver CS6
視覺(jué)化網(wǎng)頁(yè)開(kāi)發(fā)工具

SublimeText3 Mac版
神級(jí)程式碼編輯軟體(SublimeText3)

toresolvenetwork ConnectivityIssuesInWindows,resetThetCP/ipStackByFirStopeningCommandPromptasAdministrator,ThenRunningTheCommandNetnetShintipReset,andfinallyRestArtingYourComputTingYourComputertotertoertoApplychanges;

Linux適合老舊硬件、安全性高、可定制,但軟件兼容性弱;Windows軟件豐富、易用,但資源佔(zhàn)用高。 1.性能上,Linux輕量高效,適合舊設(shè)備;Windows對(duì)硬件要求高。 2.軟件上,Windows兼容性更廣,尤其專業(yè)工具和遊戲;Linux需借助工具運(yùn)行部分軟件。 3.安全上,Linux權(quán)限管理更嚴(yán)格,更新便捷;Windows雖有防護(hù)但仍易受攻擊。 4.使用難度上,Linux學(xué)習(xí)曲線陡峭;Windows操作直觀。根據(jù)需求選擇:重性能與安全選Linux,重兼容與易用選Windows。

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

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

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

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

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

WindowsDoessnothissedpormanthershipshingprocessorafficitiation forplications,butyoucanachievepersistentAffientusIndScriptscriptSorthSorthird-Partytools.1.processoraffinationbindsaprocesprosesstosperstospecificcpucores,改善了PerformanceSornalSoranceSornalManalManagemanagemanagemantermanagement,雖然Windowsre
