Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very effective for scripts with large source code and can boost such an Internet site as much as three times. PHP websites are dynamic and every time a visitor accesses a web page, the script links to a database to retrieve some content, then the code is parsed and compiled before it's displayed to the website visitor. If the output code does not change however, that is the case with Internet sites which display the very same content at all times, these actions result in unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it each time visitors browse a website, so the database does not have to be accessed and the program code doesn't have to be parsed and compiled over and over again, which in turn lowers the site loading time. The module can be rather efficient for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Web Hosting
You will be able to employ APC for your web apps with all of the shared web hosting
plans that we provide since it is pre-installed on our cloud website hosting platform. Activating it will take only a mouse click in the Hepsia Control Panel that is provided with our shared plans and several minutes later it'll begin caching the program code of your software applications. Our platform is extremely flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For instance, you'll be able to activate APC for several releases of PHP for the entire account and select the version that each website will use, or you could have the exact same version of PHP, but activate or deactivate APC only 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 require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with all of our semi-dedicated server
packages and activating the framework is performed with a mouse click in the Hepsia Control Panel, so even when you don't have any previous experience, you could use it to boost your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you'll 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 that are different from the ones for the account in general, you'll be able to set what PHP release will be used and whether APC needs to be allowed or not. In this way, one Internet site can use APC and PHP 5.3, for example, while another one may use another accelerator and PHP 5.5.