APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can boost a database-driven website several times. When a PHP page is accessed, the script pulls the website content which has to be displayed from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for Internet sites with regularly changing content, it is a complete waste of processing time and resources for a site which does not change, for example an informational portal that shows the same content at all times. Once the web pages for such a website are compiled, APC caches them and delivers them whenever a visitor loads them. As this saves the time to obtain content from the database and to parse and compile the program code, the site will load significantly quicker. APC is really useful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with every single cloud hosting
package that we offer and you can enable it with just a click from your Hepsia Control Panel if you wish to use it for your web apps. A couple of minutes later the framework will be working and you will notice the considerably quicker loading speed of your database-driven Internet sites. As we offer different versions of PHP that can also be selected through Hepsia, you'll even be able to to use APC for scripts which require different versions of PHP within the same account. Our cutting-edge cloud Internet hosting platform is very flexible, so if you use a different web accelerator for any website and it interferes with 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 Servers
You can take advantage of APC with all our semi-dedicated server
packages and activating this framework is done with a mouse click in the Hepsia Control Panel, so even when you don't have any previous experience, you will be able to use it to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you will be able to employ. It will take you only a click to allow APC for one or several PHP releases 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 can set what PHP release will be used and whether APC needs to be allowed or not. This way, one Internet site may use APC and PHP 5.3, for example, and another one could use some different accelerator and PHP 5.5.