Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script applications. It is very useful for scripts with large source code and can accelerate such a site up to 3 times. PHP sites are dynamic and each time a website visitor accesses a page, the script hooks up to a database in order to retrieve some content, and then the code is parsed and compiled before it's shown to the website visitor. In case the output code doesn't change however, that's the case with Internet sites that display the exact same content at all times, these actions trigger needless reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a website, so the database doesn't need to be accessed and the code does not have to be parsed and compiled again and again, that consequently minimizes the website loading time. The module can be really helpful for informational Internet sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Web Hosting
You will be able to use APC for your web applications with any of the shared web hosting
packages that we offer because it is pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which is provided with our shared solutions and several minutes later it'll start caching the program code of your apps. Our platform is really flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For example, you will be able to activate APC for several versions of PHP for the entire account and specify the version that each Internet site will use, or you could have the exact same version of PHP, but enable or disable APC just for particular sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC with all our semi-dedicated hosting
packages and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even if you have no prior experience, you can use it in order to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you will be able to employ. It will take you just a click to activate 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 not the same as the ones for the account as a whole, you can set what PHP version will be used and whether APC has to be enabled or not. This way, one Internet site can use APC and PHP 5.3, for instance, while another one could use some other accelerator and PHP 5.5.