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 could accelerate such an Internet site as much as 3 times. PHP websites are dynamic and each time a website visitor opens some web page, the script links to a database in order to retrieve some content, after that the code is parsed and compiled before it is displayed to the guest. If the output code does not change however, which is the case with Internet sites which display the same content all the time, such actions result in unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it any time visitors browse an Internet site, so the database doesn't have to be accessed and the program code does not have to be parsed and compiled again and again, that in turn decreases the website loading time. The module can be very helpful for informational websites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Hosting

You can use APC for your web apps with all of the hosting plans that we provide because it's pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that is provided with our shared solutions and several minutes later it'll begin caching the program code of your applications. Our platform is very flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For example, you will be able to activate APC for a couple of releases of PHP for the whole account and pick the version that each site can use, or you can have the very same version of PHP, but activate or deactivate APC only for specific sites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is set up on the innovative cloud Internet hosting platform where all semi-dedicated hosting accounts are created, so you will be able to employ it irrespective of the package you select. Activating the module is performed through the Hepsia Control Panel and takes just a click, so you won't need any skills or previous experience to be able to take full advantage of it. As you will be able to employ several versions of PHP simultaneously, you will be able to customize the software environment for each website you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will enable you to set what release of PHP this specific Internet site will use and whether APC needs to be on or off for it. These settings will have priority over those for the account as a whole, so you could run different scripts and employ various web accelerators for sites that are in the same account.