Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script applications. It is very useful for scripts with large source code and will speed up such an Internet site as much as 3 times. PHP sites are dynamic and each time a user opens a web page, the script connects to a database to retrieve some content, then the code is parsed and compiled before it is shown to the site visitor. If the output code doesn't change however, that is the case with sites which show the same content at all times, such actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse a website, so the database doesn't have to be accessed and the program code doesn't need to be parsed and compiled over and over again, that in turn minimizes the Internet site loading time. The module can be quite effective for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Website Hosting
You will be able to use APC for your web applications with any of the shared website hosting plans that we provide since it's pre-installed on our cloud web hosting platform. Enabling it will take just a single click inside the Hepsia Control Panel which comes with our shared solutions and several minutes later it'll begin caching the code of your applications. Our platform is rather flexible, so you'll be able to use different configurations determined by the system requirements of your scripts. For instance, you'll be able to activate APC for several versions of PHP for the entire account and select the version that each website can use, or you could have the same version of PHP, but enable or disable APC just for particular Internet sites. You can do this by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with our semi-dedicated server packages and activating the framework is performed with a mouse click inside the Hepsia Control Panel, so even if you have no previous experience, you can use it to quicken your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you could use. It will take you just a click to allow APC for one or a couple of PHP releases 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 can set what PHP release will be used and whether APC should be enabled or not. This way, one site can use APC and PHP 5.3, for instance, while another one could use some other accelerator and PHP 5.5.