Alternative PHP Cache, or APC, is a module for Apache servers which is employed to cache the output code of script apps. It is very useful for scripts with large source code and could boost such an Internet site up to three times. PHP sites are dynamic and any time a user opens some page, the script hooks up to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being shown to the website visitor. If the output code does not change however, that's the case with Internet sites that show identical content at all times, such actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it each time visitors browse an Internet site, so the database does not need to be accessed and the program code doesn't need to be parsed and compiled continuously, that in turn lowers the website loading time. The module can be really efficient for informational sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to use APC for your web applications with any of the cloud hosting packages that we offer because it's pre-installed on our cloud website hosting platform. Activating it will take only a mouse click in the Hepsia Control Panel that comes with our shared plans and several minutes later it'll begin caching the code of your applications. Our platform is very flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you will be able to activate APC for a couple of releases of PHP for the entire account and set the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC just for particular 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 customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the innovative cloud hosting platform where all semi-dedicated server accounts are made, so you could employ it whatever the plan you choose. Activating the module is performed from the Hepsia Control Panel and takes only a mouse click, so you won't need any skills or prior experience to take advantage of it. Since you'll be able to employ different versions of PHP at the same time, you will be able to modify the software environment for each website that you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what version of PHP this specific website will use and whether APC needs to be on or off for it. These settings will have priority over the ones for the account in general, so you could run different scripts and take advantage of various web accelerators for Internet sites that are in the same account.