APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven website several times. Each time a PHP webpage is opened, the script pulls the site content that should be shown from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for websites with constantly changing content, it is a waste of processing time and resources for a website which does not change, for instance an informational portal that displays the exact same content on a regular basis. Once the webpages for such a website are compiled, APC caches them and delivers them whenever a visitor opens them. As this saves the time to collect content from the database and to parse and compile the program code, the website will load much faster. APC is very useful especially for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC for your web applications with any of the cloud hosting packages that we offer as it's pre-installed on our cloud web hosting platform. Enabling it will take only a click inside the Hepsia Control Panel that comes with our shared solutions and a few minutes later it will start caching the code of your apps. Our platform is extremely flexible, so you will be able to use several configurations in accordance with the system requirements of the scripts. For instance, you can activate APC for a couple of versions of PHP for the whole account and select the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for specified Internet sites. You can do this by putting a php.ini file with a line of program code inside the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with all our semi-dedicated hosting plans and activating this framework is done with a mouse click in the Hepsia Control Panel, so even when you have no previous experience, you will be able to use it to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you will be able to employ. It will take you just a click to enable APC for one or several 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 should be allowed or not. This way, one site could use APC and PHP 5.3, for example, and another one can use some different accelerator and PHP 5.5.