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 useful for scripts with large source code and can speed up such an Internet site as much as three times. PHP sites are dynamic and each time a visitor opens some webpage, the script connects to a database to get some content, after that the code is parsed and compiled prior to it being displayed to the site visitor. If the output code doesn't change however, that is the case with sites that show the exact same content all the time, such actions trigger unneeded reading and writing. What APC does is that it caches the previously 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 repeatedly, which in turn reduces the website loading time. The module can be rather efficient for informational Internet sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Website Hosting

You can use APC for your web applications with all of the website hosting packages that we provide since it's pre-installed on our cloud web hosting platform. Turning it on will take only a mouse click inside the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will begin caching the code of your applications. Our platform is rather flexible, so you'll be able to use different configurations based on the system requirements of your scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and pick the version that each Internet site will use, or you could have the exact same version of PHP, but enable or disable APC only for specific websites. This is done by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every script application that is run on your new semi-dedicated hosting because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a single click inside the Hepsia Control Panel, but if necessary, you could use the module just for specific websites. This is possible due to the versatility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you will be able to choose what version will be used for this specific Internet site and whether APC has to be enabled or disabled. Using such a file permits you to use settings which are different from the ones for the account, so you'll be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you could use some other type of web accelerator.