Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script applications. It is very useful for scripts with large source code and could accelerate such a website as much as three times. PHP sites are dynamic and any time a user opens some web page, the script hooks up to a database in order to get some content, after that the code is parsed and compiled before it is displayed to the website visitor. If the output code does not change however, which is the case with sites which display the exact same content all the time, such actions trigger unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a site, so the database doesn't have to be accessed and the code does not have to be parsed and compiled continuously, which consequently lowers the Internet site loading time. The module could be quite efficient for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Shared Website Hosting

APC is provided with each and every shared website hosting plan that we offer and you can enable it with just a click from your Hepsia Control Panel if you wish to use it for your web applications. A couple of minutes later the framework will be working and you'll notice the faster loading speed of your database-driven Internet sites. Since we offer several releases of PHP which could also be selected through Hepsia, you'll even be able to to use APC for scripts that require different versions of PHP inside the same account. Our next generation cloud hosting platform is very adaptable, so if you use another web accelerator for any Internet site and it disturbs APC, you will be able to activate or deactivate the latter for a certain site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application that is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires one click in the Hepsia Control Panel, but if necessary, you could use the module only for certain sites. This is possible due to the flexibility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you'll be able to select what release will be used for this specific site and whether APC should be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for your account, so you could take advantage of APC for many scripts where the module can make a difference and not for others where you can employ a different type of web accelerator.