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 useful for scripts with large source code and will speed up such an Internet site as much as 3 times. PHP sites are dynamic and whenever a user opens a webpage, the script hooks up to a database to retrieve some content, after that the code is parsed and compiled before it is shown to the site visitor. In case the output code doesn't change however, which is the case with sites that show the same content at all times, such actions trigger needless reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time visitors browse an Internet site, so the database doesn't have to be accessed and the code doesn't need to be parsed and compiled repeatedly, that in turn lowers the website loading time. The module can be rather helpful for informational sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with each and every cloud hosting
solution that we offer and you could enable it with only a click from your Hepsia Control Panel if you'd like to use it for your applications. A couple of minutes later the framework will be active and you will notice the considerably quicker loading speed of your database-driven sites. Since we offer different versions of PHP which could also be selected from Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP within the same account. Our next generation cloud hosting platform is extremely adaptable, so if you use another web accelerator for any website and it interferes with APC, you'll be able to activate or deactivate the latter for a selected site only by using a php.ini file generated in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for each and every script application that runs on your new semi-dedicated server
since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires a click in the Hepsia Control Panel, but if needed, you could use the module only for specific Internet sites. This is possible as a result of the versatility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can choose what version will be used for this specific website and whether APC needs to be enabled or disabled. Using such a file permits you to use settings that are different from the standard ones for your account, so you'll be able to take full advantage of APC for some scripts where the module can make a difference and not for others where you can use another type of web accelerator.