Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very efficient for scripts with large source code and can accelerate such a site as much as three times. PHP websites are dynamic and any time a website visitor opens a webpage, the script connects to a database to get some content, and then the code is parsed and compiled before it's displayed to the website visitor. If the output code does not change however, that is the case with sites that display the exact same content all of the time, such actions trigger excessive reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a website, so the database does not need to be accessed and the code doesn't need to be parsed and compiled continuously, that in turn lowers the site loading time. The module could be extremely efficient for informational websites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Cloud Hosting

You can employ APC for your web applications with any of the cloud hosting packages that we provide as it's pre-installed on our cloud web hosting platform. Turning it on will take only a single click in the Hepsia Control Panel which comes with our shared solutions and a few minutes later it will begin caching the program code of your software apps. Our platform is really flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you will be able to activate APC for a couple of releases of PHP for the entire account and specify the version that each website will use, or you can have the same version of PHP, but enable or disable APC only for particular Internet sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the state-of-the-art cloud web hosting platform where all semi-dedicated server accounts are made, so you could use it whatever the plan you select. Enabling the module is done through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or earlier experience to be able to take advantage of it. Since you'll be able to use different releases of PHP at once, you'll be able to modify the software environment for each website that you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what release of PHP this specific Internet site will use and whether APC has to be on or off for it. These settings will have priority over the ones for the account in general, so you could run various scripts and use different web accelerators for sites that are in the same account.