APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can boost a database-driven site several times. Any time a PHP page is opened, the script pulls the site content which should be displayed from a database, parses and compiles the program code, and then the result is shown to the visitor. While this is necessary for websites with frequently changing content, it's a waste of processing time and system resources for an Internet site that does not change, for instance an informational portal which shows the same content on a regular basis. Once the web pages for such an Internet site are compiled, APC caches them and delivers them any time a user opens them. As this saves the time to obtain content from the database and to parse and compile the code, your Internet site will load considerably quicker. APC is very effective particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC for your web apps with any of the cloud hosting packages that we offer because it's pre-installed on our cloud web hosting platform. Turning it on will take only a click in the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll start caching the program code of your applications. Our platform is extremely flexible, so you'll be able to use several configurations depending on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the whole account and select the version that each website will use, or you could have the exact same version of PHP, but activate or deactivate APC just for specific sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with all our semi-dedicated server plans and activating the framework is done with a mouse click inside the Hepsia Control Panel, so even if you lack prior experience, you can use it to accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are set up 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 activate APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account in general, you can set what PHP release will be used and whether APC has to be allowed or not. This way, one Internet site could use APC and PHP 5.3, for example, while another one can use some other accelerator and PHP 5.5.