APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven site several times. Every time a PHP page is accessed, the script pulls the website content that should be displayed from a database, parses and compiles the program code, and the result is shown to the site visitor. While this is necessary for Internet sites with routinely changing content, it is a complete waste of processing time and resources for an Internet site that doesn't change, for example an informational portal that shows the very same content all the time. When the pages for such a site are compiled, APC caches them and delivers them any time a visitor opens them. As this saves the time to obtain content from the database and to parse and compile the code, the website will load a lot quicker. APC is very effective in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Web Hosting

You can employ APC for your web applications with any of the cloud web hosting plans that we provide since it's 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 solutions and a couple of minutes later it'll begin caching the program code of your applications. Our platform is really flexible, so you will be able to use different configurations depending on the system requirements of your scripts. For example, you will be able to activate APC for several releases of PHP for the whole account and pick the version that each site can use, or you can have the same version of PHP, but enable or disable APC just 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 custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server plans and activating the framework is performed with a click in the Hepsia Control Panel, so even when you don't have any previous experience, you will be able to use it in order to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you only a click to activate APC for one or a couple of 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 will be able to set what PHP version will be used and whether APC needs to be allowed or not. In this way, one website may use APC and PHP 5.3, for example, and another one can use some other accelerator and PHP 5.5.