APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it can impact the PHP performance inside your hosting account.
Alternative PHP Cache, or APC, is a module for Apache servers which is used 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 up to 3 times. PHP sites are dynamic and any time a website visitor accesses some web page, the script hooks up to a database in order to get some content, and then the code is parsed and compiled before it's displayed to the guest. In case the output code does not change however, that is the case with sites which display the very same content all the time, these actions result in unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a website, so the database does not need to be accessed and the code doesn't have to be parsed and compiled continuously, that in turn decreases the site loading time. The module could be pretty useful for informational sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Shared Website Hosting
APC is pre-installed on our cutting-edge cloud platform, which means that you can use it for your web applications regardless of the shared website hosting
plan that you pick when you join us. The module can be activated from the Hepsia hosting Control Panel that is used to handle the shared accounts and just a couple of minutes later it will boost your Internet sites as it will begin caching their code. If you need to run sites with different system requirements or take advantage of different web accelerators for some of them, you could customize the software environment by putting a php.ini file inside the preferred domain folder. Thus, you could enable or disable APC not only for a particular site without affecting the other Internet sites in the account, but also for a specific version of PHP because our platform supports multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each and every script application which is run on your new semi-dedicated hosting
because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires a click in the Hepsia Control Panel, but if necessary, you could use the module only for certain websites. This is possible on account of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, 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 allows you to use settings that are different from the standard ones for your account, so you'll be able to take advantage of APC for many scripts where the module makes a difference and not for others where you could take advantage of a different type of web accelerator.