1024programmer PHP WindowsCacheExtensionforPHPMore introduction

WindowsCacheExtensionforPHPMore introduction

Today the IIS team released the beta test version of Windows Cache Extension 1.0 for PHP, which is a PHP accelerator used to improve the speed of PHP applications running on Windows systems. Any PHP application can use it to speed up without modifying any code, all that is required is to enable this extension in the PHP engine. Install Windows Cache Extension

Today the IIS team released the beta test version of Windows Cache Extension 1.0 for PHP, which is a PHP accelerator used to improve the speed of PHP applications running on Windows systems. Any PHP application can use it to speed up without modifying any code, all that is required is to enable this extension in the PHP engine.

Install Windows Cache Extension 1.0 for PHP – Beta

Or download:

Windows Cache Extension 1.0 for PHP 5.2 – Beta
Windows Cache Extension 1.0 for PHP 5.3 – Beta

Follow the instructions in the “Using Windows Cache Extension for PHP” article to install, enable and configure the extension.

Note:

  • This extension can only be used for non-thread-safe versions of PHP
  • This extension can only be used For PHP running on IIS in FastCGI mode
  • Windows Cache Extension 1.0 for PHP 5.3 can only be used for x86 VC9 version of PHP5.3

Features:

  • Support PHP 5.2 and PHP 5.3
  • Provide PHP function to get cache status information

This extension contains 3 functions that can be accessed Caching features that are enabled or disabled individually:

  • PHP opcode cache – PHP is a script processing engine that reads an input stream containing text and/or PHP instructions, and Generate another stream of data (usually in HTML format). This means that on a web server, the PHP engine has to read, parse, compile and execute a PHP script for every request from a browser client. The reading, parsing and compiling operations bring extra load to the CPU and file system of the web server, affecting the overall performance of PHP web applications. PHP opcode (bytecode) cache is used to cache compiled script bytecode in shared memory so that subsequent requests for the same script file can be reused by the PHP engine.
  • File cache– Even if the PHP bytecode cache is enabled, the PHP engine still needs to access script files in the file system. When PHP scripts are stored on remote UNC file shares, file operations can incur significant performance overhead. The file cache of Windows Cache Extension forPHP can cache the content of PHP script files in shared memory, reducing the file system operations of the PHP engine.
  • Relative file path cache-PHP scripts frequently use relative paths to include or manipulate files. Every relative file path needs to be converted to an absolute file path by the PHP engine. When a PHP application uses many PHP files with relative paths, the operation of resolving relative paths to absolute paths can affect performance. The Windows Cache Extension for PHP provides relative file path caching, reducing the number of conversions that the PHP engine needs to do.

More information

  • Windows Cache Extension for PHP on IIS.NET
  • Using Windows Cache Extension for PHP

You can use Windows Cache Extension for PHP Forum, mailto:iisphp or leave a message after this article to ask questions, report problems or provide feature feedback suggestions, etc.

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/windowscacheextensionforphpmore-introduction-2/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: 34331943@QQ.com

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索