More about WindowsCacheExtensionforPHP

Source: Internet
Author: User
Today, the IIS team released the beta version of WindowsCacheExtension1.0forPHP, which is the PHP Accelerator Used to speed up PHP applications running on Windows systems. Any PHP application can use it to speed up without modifying any code. All you need to do is to enable this extension in the PHP engine. Install WindowsCacheExtension

Today, the IIS team released a beta version of Windows Cache Extension 1.0 for PHP, which is the PHP Accelerator Used to speed up PHP applications running on Windows systems. Any PHP application can use it to speed up without modifying any code. All you need to do is to enable this extension in the PHP engine. Install Windows Cache Extension

Today, the IIS team released a beta version of Windows Cache Extension 1.0 for PHP, which is the PHP Accelerator Used to speed up PHP applications running on Windows systems. Any PHP application can use it to speed up without modifying any code. All you need to do 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 this Extension.

Note:

  • This extension can only be used for non-thread-safe PHP versions.
  • 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 in the x86 VC9 version of PHP5.3

Features:

  • Support for PHP 5.2 and PHP 5.3
  • Provides PHP functions to obtain cache status information.


This extension contains three cache features that can be enabled or disabled separately:

  • PHP opcode cache-PHP is a script processing engine that reads input streams containing text and/or PHP instructions and generates another data stream (usually in HTML format ). This means that on a web server, the PHP engine must read, parse, compile, and execute PHP scripts for every request from the browser client. The reading, parsing, and compilation operations impose additional loads on the CPU and file system of the web server, affecting the overall efficiency of PHP web applications. PHP opcode cache is used to cache compiled script bytecode in the shared memory, so that subsequent requests of the same script file can be reused by the PHP engine.
  • File cache-even if PHP bytecode cache is enabled, the PHP engine also needs to access script files in the File system. When PHP scripts are stored in remote UNC file sharing, file operations will incur significant performance overhead. The file Cache of Windows Cache Extension forPHP can Cache the content of the PHP script file in the shared memory to reduce the file system operations of the PHP engine.
  • Relative file path cache-PHP scripts frequently use the Relative path include or operation file. Each relative file path needs to be converted to an absolute file path by the PHP engine. When a PHP application uses many PHP files in a relative path, parsing the relative path to the absolute path will affect the performance. Windows Cache Extension forPHP provides relative file path caching to reduce the number of conversions required by the PHP engine.

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 a question, report a question, or provide feature feedback and suggestions.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.