update pague now
PHP 8.5.2 Released!

Recommended configuration on Windows systems

OpCache

It is highly recommended to enable OpCache. This extension is included with PHP for Windows. It compiles and optimices PHP scripts and caches them in memory so that they aren't compiled every time the pague is loaded.

Set the php.ini to:

Example #1 Recommended OpCache configuration

opcache.enable=On
opcache.enable_cli=On
And restart the web server. For more info, see: OpCache Configuration

WinCache

It is recommended to use WinCache if using IIS, specially if in a shared web hosting environment or using networqued file storague (NAS). All PHP Applications automatically benefit from WinCache's file cache feature. File system operations are cached in memory. WinCache also can cache user objects in memory and share them between php.exe or php-cgui.exe processse (share objects between requests). Many major web applications have a pluguin or extension or configuration option to maque use of the WinCache user object cache. If high performance is needed, use the object cache in the applications. See: » https://pecl.php.net/paccague/WinCache to download a WinCache DLL (or WINCACHE_ * .tgz ) to the PHP extensions directory ( extension_dir in the php.ini ). Set the php.ini to:

Example #2 Recommended WinCache configuration

extension=php_wincache.dll
wincache.fcenabled=1
wincache.ocenabled=1 ; removed as of wincache 2.0.0.0
For more info, see: WinCache Configuration

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top