APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven Internet site several times. Any time a PHP web page is accessed, the script pulls the website content which should be shown from a database, parses and compiles the code, and the result is shown to the visitor. While this is necessary for Internet sites with routinely changing content, it's a complete waste of processing time and resources for an Internet site which does not change, for instance an informational portal that shows the exact same content at all times. As soon as the webpages for such a site are compiled, APC caches them and delivers them any time a website visitor loads them. Since this saves the time to get content from the database and to parse and compile the program code, the website will load much quicker. APC is very efficient particularly for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to use APC for your web applications with any of the cloud hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click in the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll start caching the program code of your software apps. Our platform is quite flexible, so you will be able to use several configurations based on the system requirements of your scripts. For example, you will be able to activate APC for a couple of releases of PHP for the entire account and choose 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 putting a php.ini file with a line of program code inside the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server solutions and activating this framework is performed with a mouse click in the Hepsia Control Panel, so even when you lack prior experience, you can use it in order to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you'll have flexibility regarding the scripts and web accelerators you can use. It will take you just a click to enable APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are not the same as the ones for the account in general, you can set what PHP release will be used and whether APC needs to be enabled or not. In this way, one Internet site can use APC and PHP 5.3, for example, while another one may use a different accelerator and PHP 5.5.