APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven Internet site several times. Every time a PHP webpage is opened, the script pulls the website content which needs to be shown 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 constantly changing content, it's a complete waste of processing time and resources for a website that does not change, for instance an informational portal which displays the exact same content all the time. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a website visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the program code, your Internet site will load much faster. APC is very effective in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

You'll be able to use APC for your web applications with any of the shared hosting plans that we offer because it's pre-installed on our cloud web hosting platform. Turning it on will take just a single 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 software applications. Our platform is really flexible, so you'll be able to use different configurations based on the system requirements of the scripts. For instance, you will be able to activate APC for a couple of releases of PHP for the whole account and choose the version that each Internet site will use, or you can have the same version of PHP, but activate or deactivate APC just for specific websites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with our semi-dedicated hosting packages and activating this framework is done with a mouse click from the Hepsia Control Panel, so even when you don't have any prior experience, you will be able to use it to speed up your websites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you could use. It will take you just a click to allow APC for one or several PHP versions 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 as a whole, you could set what PHP version will be used and whether APC needs to be allowed or not. This way, one site can use APC and PHP 5.3, for example, whereas another one could use another accelerator and PHP 5.5.