Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script applications. It is very efficient for scripts with large source code and could speed up such a site as much as three times. PHP websites are dynamic and every time a website visitor accesses a web page, the script links to a database to retrieve some content, then the code is parsed and compiled prior to it being shown to the guest. In case the output code does not change however, which is the case with sites which show the 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 whenever visitors browse a website, so the database does not have to be accessed and the program code does not need to be parsed and compiled repeatedly, which in turn decreases the website loading time. The module could be rather useful for informational Internet sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Web Hosting

You'll be able to use APC for your web apps with all of the web hosting packages that we provide since it is pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it'll start caching the code of your applications. Our platform is extremely flexible, so you will be able to use different configurations based on the system requirements of your scripts. For example, you could 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 very same version of PHP, but enable or disable APC only for specific Internet sites. This is done by placing a php.ini file with a line of code in the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the innovative cloud web hosting platform where all semi-dedicated server accounts are made, so you could use it regardless of the package you pick. Activating the module is done from the Hepsia Control Panel and takes just a click, so you will not need any skills or previous experience to take advantage of it. Since you will be able to employ different releases of PHP at the same time, you could customize the software environment for each and every site you host in the account if required. A php.ini file with several lines in it placed in a domain folder will enable you to set what version of PHP this specific site will use and if APC needs to be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and use different web accelerators for Internet sites that are in the same account.