Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script apps. It is very useful for scripts with large source code and could accelerate such a site up to 3 times. PHP sites are dynamic and whenever a user opens a web page, the script connects to a database in order to retrieve some content, and then the code is parsed and compiled before it's displayed to the website visitor. In case the output code does not change however, which is the case with Internet sites which display the very same content at all times, such actions result in needless reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse a site, so the database does not have to be accessed and the program code does not need to be parsed and compiled over and over again, that consequently lowers the Internet site loading time. The module could be extremely efficient for informational Internet sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with every single cloud hosting plan that we offer and you could activate it with only a click through your Hepsia Control Panel if you would like to use it for your web apps. A few 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 websites. As we provide different versions of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts which need different versions of PHP within the same account. Our state-of-the-art cloud Internet hosting platform is very flexible, so in case you use a different web accelerator for any Internet site and it disrupts APC, you could activate or deactivate the aforementioned for a selected 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 full advantage of APC with all of our semi-dedicated server solutions and activating the framework is done with a mouse click from the Hepsia Control Panel, so even if you have no previous experience, you'll be able to use it to quicken your websites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you will have freedom with regards to the scripts and web accelerators you'll be able to employ. It will take you only a click to enable 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 not the same as the ones for the account in general, you will be able to set what PHP version will be used and whether APC should be enabled or not. This way, one Internet site may use APC and PHP 5.3, for instance, whereas another one can use another accelerator and PHP 5.5.