Enabling Wincache's Opcode Cache

Wincache is PHP extension that Microsoft® wrote to improve the performance of PHP applications on Windows-based platforms. All Web Hosting Windows accounts have access to the performance-enhancing power of Wincache, but it's disabled by default.

You can find out more about how Wincache works by visiting PHP.net.

To enable your php scripts to cache in the memory (called an opcode cache), you need to edit your account's php5.ini file to include this directive:
[wincache]
wincache.ocenabled = 1

Note: This setting affects all PHP scripts on the hosting account. Enabling it might interfere with other applications you have installed.

This change might take up to five minutes to become active on your site. To see if it's active, open a plain text editor and create a file called phpinfo.php. Insert the following line:

Save this file to the root of your website and then browse to yourdomain.com/phpinfo.php.

The wincache.ocenabled parameter display as On for the local value.


이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.