Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script apps. It is very efficient for scripts with large source code and will speed up such a site up to three times. PHP sites are dynamic and each time a website visitor opens some webpage, the script hooks up to a database in order to get some content, and then the code is parsed and compiled before it's shown to the site visitor. In case the output code does not change however, that's the case with websites that show the exact same content all the time, such actions result in unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a site, so the database doesn't have to be accessed and the code does not have to be parsed and compiled over and over again, which consequently decreases the website loading time. The module can be rather useful for informational Internet sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Shared Hosting

You'll be able to use APC for your web apps with all of the shared hosting packages that we provide because it's pre-installed on our cloud website hosting platform. Turning it on will take just a click in the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll begin caching the code of your applications. Our platform is really flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For instance, you could activate APC for several versions of PHP for the whole account and choose the version that each site will use, or you could have the very same version of PHP, but activate or deactivate APC just for specified sites. This is done by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each and every script application which runs on your new semi-dedicated server as 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 inside the Hepsia Control Panel, but if necessary, you can use the module only for certain sites. This is possible because of the flexibility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can choose what release will be used for this specific site and whether APC should be enabled or disabled. Using such a file enables you to use settings which are different from the ones for the account, so you could take full advantage of APC for many scripts where the module can make a difference and not for others where you may use another type of web accelerator.