APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven Internet site several times. Every time a PHP webpage is accessed, the script pulls the website content that should 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 websites with routinely changing content, it's a total waste of processing time and resources for a website that doesn't change, for instance an informational portal which displays the exact same content on a regular basis. When the webpages for such an Internet site are compiled, APC caches them and delivers them every time a website visitor accesses them. Since this saves the time to collect content from the database and to parse and compile the program code, your website will load much faster. APC is very useful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Website Hosting

You can employ APC for your web applications with all of the website hosting plans that we offer because it's pre-installed on our cloud web hosting platform. Turning it on will take just a mouse click in the Hepsia Control Panel that is provided with our shared solutions and several minutes later it'll begin caching the program code of your software applications. Our platform is extremely flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For instance, you'll be able to activate APC for a couple of releases of PHP for the whole account and pick the version that each site will use, or you can have the very same version of PHP, but activate or deactivate APC just for particular 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 need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with all of our semi-dedicated hosting solutions and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you will be able to use it in order to speed up your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you could use. It will take you only a click to allow 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 different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC needs to be allowed or not. In this way, one Internet site may use APC and PHP 5.3, for instance, while another one could use another accelerator and PHP 5.5.