APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven site several times. Each time a PHP webpage is accessed, the script pulls the content that needs to be shown from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for Internet sites with regularly changing content, it is a complete waste of processing time and system resources for a site which does not change, for instance an informational portal that displays the very same content all the time. Once the webpages for such an Internet site are compiled, APC caches them and delivers them each time a user accesses them. As this saves the time to collect content from the database and to parse and compile the code, your website will load a lot faster. APC is very effective particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Web Hosting

You can use APC for your web applications with any of the web hosting plans that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take only a click in the Hepsia Control Panel that comes with our shared solutions and several minutes later it'll begin caching the program code of your software apps. Our platform is very flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For example, you can activate APC for several versions of PHP for the entire account and pick the version that each Internet site will use, or you can have the very same version of PHP, but activate or deactivate APC only for particular websites. This is done by placing a php.ini file with a line of code in the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take full advantage of APC with all of our semi-dedicated hosting packages and activating this framework is performed with a mouse click inside the Hepsia Control Panel, so even when you have no previous experience, you will be able to use it in order to quicken your sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you will be able to use. It will take you just a click to enable APC for one or several PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings that are different from the ones for the account in general, you can set what PHP version will be used and whether APC needs to be allowed or not. In this way, one Internet site may use APC and PHP 5.3, for instance, while another one may use some other accelerator and PHP 5.5.