APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can speed up a database-driven Internet site several times. Every time a PHP web page is accessed, the script pulls the website content which should be displayed from a database, parses and compiles the code, and then the result is displayed to the visitor. While this is necessary for sites with constantly changing content, it's a complete waste of processing time and resources for a website that doesn't change, for instance an informational portal which shows the very same content at all times. As soon as the web pages for such a site are compiled, APC caches them and delivers them every time a website visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the code, your Internet site will load much faster. APC is really efficient particularly for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with each and every cloud hosting
solution that we offer and you can activate it with only a click through your Hepsia Control Panel if you want to use it for your web apps. A couple of minutes later the framework will be working and you will be able to take advantage of the considerably faster loading speed of your database-driven Internet sites. As we provide different releases of PHP that can also be selected through Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP in the very same account. Our cutting-edge cloud Internet hosting platform is very adaptable, so in case you use a different web accelerator for any Internet site and it disrupts APC, you'll be able to activate or deactivate the latter for a particular site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all our semi-dedicated hosting
packages and activating the framework is done with a click inside the Hepsia Control Panel, so even when you have no previous experience, you could use it to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have flexibility regarding the scripts and web accelerators you will be able to use. It will take you just a click to enable APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you could set what PHP version will be used and whether APC should be enabled or not. In this way, one site can use APC and PHP 5.3, for example, while another one may use some different accelerator and PHP 5.5.