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 could accelerate such a site as much as three times. PHP sites are dynamic and any time a visitor accesses a webpage, the script connects to a database in order to get some content, after that the code is parsed and compiled before it is displayed to the website visitor. If the output code does not change however, which is the case with websites which show the same content all the time, these actions result in needless reading and writing. What APC does is that it caches the previously compiled code and delivers it any time visitors browse a website, so the database does not have to be accessed and the program code doesn't have to be parsed and compiled continuously, which in turn reduces the website loading time. The module can be pretty helpful for informational sites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Web Hosting
APC is pre-installed on our advanced cloud platform, therefore you can use it for your applications whatever the web hosting solution that you pick when you join us. The module can be activated from your Hepsia internet hosting Control Panel which is used to manage the shared accounts and just a few minutes later it will boost your Internet sites since it will begin caching their program code. In case you would like to run websites with various system requirements or use different web accelerators for some of them, you could customize the software environment by placing a php.ini file inside the desired domain folder. In this way, you could enable or disable APC not only for a particular Internet site without affecting the other sites in the account, but also for a particular version of PHP as our platform is compatible with multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for each 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 requires a click in the Hepsia Control Panel, but if needed, you can use the module only for certain websites. This is possible due to the flexibility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can pick what release will be used for this specific 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 can take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you may use a different kind of web accelerator.