Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very effective for scripts with large source code and can boost such a website up to three times. PHP sites are dynamic and whenever a visitor accesses a webpage, the script links to a database to get some content, then the code is parsed and compiled before it is displayed to the guest. If the output code doesn't change however, that's the case with sites which show identical content all of the time, these actions trigger needless reading and writing. What APC does is that it caches the previously compiled program code and delivers it any time 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 continuously, which consequently reduces the Internet site loading time. The module can be really effective for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Shared Web Hosting
APC is available with each shared web hosting plan that we offer and you can activate it with only a click through your Hepsia Control Panel if you want to use it for your web apps. A couple of minutes later the framework will be working and you'll be able to take advantage of the quicker loading speed of your database-driven Internet sites. As we provide different releases of PHP that can also be selected from Hepsia, you'll even be able to to use APC for scripts which require different versions of PHP within the same account. Our advanced cloud hosting platform is very adaptable, so if you use a different web accelerator for any Internet site and it interferes with APC, you could activate or deactivate the aforementioned for a certain site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every script application that runs on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a click from the Hepsia Control Panel, but if needed, you can use the module only for particular sites. This is possible due to the versatility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to choose what release will be used for this particular website and whether APC has to be enabled or disabled. Using such a file allows you to use settings that are different from the ones for the account, so you'll be able to take advantage of APC for some scripts where the module makes a difference and not for others where you can employ another kind of web accelerator.