APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could speed up a database-driven site several times. Any time a PHP web page is opened, the script pulls the website content which has to be displayed from a database, parses and compiles the program code, then the result is displayed to the website visitor. While this is necessary for Internet sites with routinely changing content, it is a complete waste of processing time and resources for a website that does not change, for instance an informational portal which displays the same content at all times. As soon as the web pages for such an Internet site 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 code, the website will load considerably faster. APC is really useful particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Website Hosting
APC is provided with each cloud website hosting plan that we offer and you could activate it with just a click through your Hepsia Control Panel if you wish to use it for your web apps. Several minutes later the framework will be active and you'll experience the faster loading speed of your database-driven websites. Since we provide different versions of PHP which could also be selected through Hepsia, you'll even be able to to use APC for scripts which require different versions of PHP in the same account. Our advanced cloud Internet hosting platform is extremely flexible, so if you use a different web accelerator for any Internet site and it disrupts APC, you could activate or deactivate the aforementioned for a specific 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 use APC with all our semi-dedicated server packages and activating this framework is done with a mouse click inside the Hepsia Control Panel, so even when you lack previous experience, you will be able to use it in order to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you will have freedom with regards to the scripts and web accelerators you can use. It will take you just a click to allow 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 in general, you'll be able to set what PHP version will be used and whether APC has to be enabled or not. In this way, one site may use APC and PHP 5.3, for example, whereas another one can use some different accelerator and PHP 5.5.