Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and will accelerate such a website up to 3 times. PHP sites are dynamic and each time a visitor opens some page, the script links to a database in order to get some content, then the code is parsed and compiled prior to it being shown to the guest. In case the output code doesn't change however, which is the case with sites which show the same content all of the time, such actions result in unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it each time visitors browse an Internet site, so the database doesn't have to be accessed and the program code doesn't have to be parsed and compiled over and over again, that consequently reduces the Internet site loading time. The module can be rather helpful for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you will be able to use it for your applications regardless of the hosting package that you choose when you sign up. The module can be activated from your Hepsia hosting Control Panel that is used to control the shared accounts and just a few minutes later it will speed up your sites because it'll start caching their program code. In case you would like to run websites with different system requirements or take advantage of specific web accelerators for any of them, you will be able to customize the software environment by putting a php.ini file in the desired domain folder. Thus, you can enable or disable APC not just for a particular site without affecting the other sites in the account, but also for a certain version of PHP since our platform supports multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with our semi-dedicated hosting solutions and activating the framework is done with a click inside the Hepsia Control Panel, so even when you lack prior experience, you'll be able to use it in order to quicken your sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you could use. It will take you only a click to enable APC for one or several PHP versions 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 in general, you will be able to set what PHP version will be used and whether APC should be enabled or not. In this way, one site could use APC and PHP 5.3, for instance, and another one can use some other accelerator and PHP 5.5.