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 website several times. Each time a PHP page is accessed, the script pulls the content that should 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 sites with frequently changing content, it's a complete waste of processing time and resources for a website which doesn't change, such as an informational portal which displays identical content at all times. As soon as the webpages for such a site are compiled, APC caches them and delivers them whenever a website visitor loads them. As this saves the time to get content from the database and to parse and compile the code, your website will load considerably quicker. APC is very helpful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Web Hosting
APC is provided with every single web hosting plan that we offer and you can activate it with only a click from your Hepsia Control Panel if you wish to use it for your web apps. Several minutes later the framework will be working and you'll notice the faster loading speed of your database-driven sites. Since we provide several releases of PHP which could also be selected through Hepsia, you will even be able to use APC for scripts which require different versions of PHP inside the same account. Our next generation cloud web hosting platform is extremely flexible, so in case you use an alternative web accelerator for any Internet site and it disrupts APC, you could activate or deactivate the latter for a certain site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with all our semi-dedicated server solutions and activating this framework is performed with a click from the Hepsia Control Panel, so even if you don't have any prior experience, you will be able to use it in order to quicken your websites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you can employ. It will take you just a click to allow APC for one or a couple of 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 release will be used and whether APC should be enabled or not. In this way, one website could use APC and PHP 5.3, for instance, while another one may use another accelerator and PHP 5.5.