APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can boost a database-driven Internet site several times. Each time a PHP webpage is opened, the script pulls the website content that has to be shown from a database, parses and compiles the program code, and the result is displayed to the website visitor. While this is necessary for Internet sites with routinely changing content, it's a waste of processing time and resources for an Internet site which does not change, for example an informational portal which shows the same content at all times. When the pages for such a site are compiled, APC caches them and delivers them whenever a user opens them. Since this saves the time to collect content from the database and to parse and compile the program code, the website will load considerably faster. APC is very effective in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Hosting

You will be able to use APC for your web applications with any of the hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Enabling it will take just a single click in the Hepsia Control Panel which is provided with our shared solutions and several minutes later it'll start caching the code of your apps. Our platform is really flexible, so you'll be able to use different configurations determined by the system requirements of your scripts. For instance, you'll be able to activate APC for a couple of versions of PHP for the entire account and set the version that each website can use, or you could have the exact same version of PHP, but enable or disable APC just for specified Internet sites. 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 Servers

You can use APC with all our semi-dedicated server solutions and activating the framework is performed with a click from the Hepsia Control Panel, so even when you don't have any previous experience, you'll be able to use it in order to accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are created 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 enable 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 that are different from the ones for the account as a whole, you could set what PHP release will be used and whether APC needs to be allowed or not. This way, one website can use APC and PHP 5.3, for example, whereas another one could use another accelerator and PHP 5.5.