Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script applications. It is very useful for scripts with large source code and could speed up such a site up to three times. PHP sites are dynamic and every time a website visitor opens a webpage, the script hooks up to a database in order to retrieve some content, then the code is parsed and compiled prior to it being displayed to the website visitor. In case the output code doesn't change however, that is the case with Internet sites which show the exact same content at all times, such actions result in unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it each 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, which consequently decreases the site loading time. The module could be rather effective for informational sites, blogs, portfolios, etcetera.
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with each and every cloud hosting plan that we offer and you could enable it with only a click from your Hepsia Control Panel if you want to use it for your web apps. A few minutes later the framework will be working and you'll experience the quicker loading speed of your database-driven websites. Since we provide several versions of PHP which can also be selected from Hepsia, you will even be able to use APC for scripts that require different versions of PHP within the same account. Our next generation cloud hosting platform is very flexible, so in case you use another web accelerator for any website and it interferes with APC, you will be able to activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the state-of-the-art cloud Internet hosting platform where all semi-dedicated server accounts are created, so you will be able to employ it whatever the plan you select. Enabling the module is done from the Hepsia Control Panel and takes just a click, so you won't need any skills or earlier experience to be able to take advantage of it. As you will be able to employ different releases of PHP concurrently, you'll be able to customize the software environment for every single Internet site that you host in the account if required. A php.ini file with a couple of lines in it placed in a domain folder will permit you to set what version of PHP this specific website will use and whether APC has to be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run different scripts and employ different web accelerators for websites that are in the same account.