Home Guides Glossary

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

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 Website. To see if it's active, open a plain text editor and create a file called phpinfo.php. Insert the following line:
<? phpinfo(); ?>

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.

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy