APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could boost a database-driven site several times. Any time a PHP webpage is accessed, the script pulls the content that needs to be loaded from a database, parses and compiles the program code, and the result is shown to the website visitor. While this is necessary for sites with regularly changing content, it's a waste of processing time and resources for an Internet site which doesn't change, for instance an informational portal that displays the same content on a regular basis. Once the pages for such a site are compiled, APC caches them and delivers them every time a visitor accesses them. Since this saves the time to request content from the database and to parse and compile the code, the Internet site will load much faster. APC is really efficient especially for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC for your web applications with all of the cloud hosting plans that we provide as it's pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which comes with our shared plans and several minutes later it'll begin caching the code of your apps. Our platform is very flexible, so you will be able to use different configurations based on the system requirements of the scripts. For example, you will be able to activate APC for several releases of PHP for the entire account and specify the version that each website will use, or you can have the same version of PHP, but activate or deactivate APC only for particular Internet sites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with our semi-dedicated hosting packages and activating the framework is done with a click from the Hepsia Control Panel, so even if you have no previous experience, you can use it in order to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you can employ. It will take you just a click to activate APC for one or several PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account in general, you can set what PHP version will be used and whether APC has to be allowed or not. In this way, one site could use APC and PHP 5.3, for example, while another one may use some different accelerator and PHP 5.5.