Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script apps. It is very effective for scripts with large source code and could boost such an Internet site as much as three times. PHP websites are dynamic and each time a visitor opens some page, the script connects to a database in order to get some content, then the code is parsed and compiled before it is displayed to the website visitor. In case the output code does not change however, which is the case with Internet sites which show the exact same content all of the time, such actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it every time visitors browse a website, so the database doesn't have to be accessed and the code doesn't need to be parsed and compiled again and again, which consequently minimizes the site loading time. The module could be rather efficient for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to employ APC for your web applications with any of the cloud website hosting packages that we provide as it is pre-installed on our cloud web hosting platform. Turning it on will take only a click in the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll begin caching the program code of your software applications. Our platform is really flexible, so you'll be able to use several configurations determined by the system requirements of the scripts. For example, you will be able to activate APC for a couple of releases of PHP for the whole account and pick the version that each Internet site will use, or you can have the same version of PHP, but enable or disable APC just for specified sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each script application that runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes one click from the Hepsia Control Panel, but if necessary, you can use the module just for specific sites. This is possible on account of the flexibility of our cloud platform - multiple versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this specific Internet site and whether APC has to be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for the account, so you will be able to take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you can take advantage of a different kind of web accelerator.