APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can speed up a database-driven site several times. Each time a PHP webpage is opened, the script pulls the content that needs to be displayed from a database, parses and compiles the code, then the result is displayed to the visitor. While this is necessary for websites with regularly changing content, it is a waste of processing time and system resources for a site which does not change, such as an informational portal which displays the very same content all the time. As soon as the web pages for such a site are compiled, APC caches them and delivers them each time a website visitor loads them. As this saves the time to obtain content from the database and to parse and compile the program code, the Internet site will load considerably quicker. APC is very efficient particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Hosting

You'll be able to employ APC for your web apps with any of the hosting packages that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take just a mouse click inside the Hepsia Control Panel that comes with our shared plans and several minutes later it will begin caching the program code of your applications. Our platform is rather flexible, so you will be able to use different configurations based on the system requirements of your scripts. For instance, you can activate APC for several versions of PHP for the whole account and pick the version that each website can use, or you can have the exact same version of PHP, but enable or disable APC only for specific websites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with our semi-dedicated server solutions and activating the framework is done with a mouse click inside the Hepsia Control Panel, so even if you don't have any prior experience, you'll be able to use it to boost your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you'll have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you just a click to enable APC for one or a couple of PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you'll be able to set what PHP release will be used and whether APC should be enabled or not. In this way, one website could use APC and PHP 5.3, for instance, while another one could use some different accelerator and PHP 5.5.