APC (PHP Opcode Cache)
Discover what the abbreviation ‘APC’ stands for, what exactly APC is capable of PHP overall performance-wise and the ways to enable it for your account.
Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script applications. It is very efficient for scripts with large source code and can boost such an Internet site up to three times. PHP websites are dynamic and any time a user accesses some web page, the script links to a database to get some content, after that the code is parsed and compiled before it is displayed to the website visitor. In case the output code does not change however, that is the case with sites that show the exact same content all of the time, these actions trigger unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse a website, so the database doesn't need to be accessed and the program code doesn't have to be parsed and compiled again and again, that consequently reduces the site loading time. The module could be really efficient for informational sites, blogs, portfolios, and so on.
-
APC (PHP Opcode Cache) in Web Hosting
APC is pre-installed on our leading-edge cloud platform, which means that you'll be able to use it for your web applications regardless of the
web hosting package that you choose when you join us. The module can be enabled through the Hepsia internet hosting Control Panel which is used to take care of the shared accounts and just a couple of minutes later it will boost your Internet sites since it'll start caching their program code. In case you want to run websites with various system requirements or use specific web accelerators for any of them, you'll be able to customize the software environment by placing a php.ini file inside the preferred domain folder. This way, you can enable or disable APC not only for a specific website without affecting the other Internet sites in the account, but also for a specific version of PHP since our platform supports multiple versions at the same time.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for each and every script application that is run on your new
semi-dedicated hosting since 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 one click from the Hepsia Control Panel, but if necessary, you could use the module only for specific sites. This is possible because of the versatility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to pick what version will be used for this particular website and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for the account, so you could take advantage of APC for a lot of scripts where the module can make a difference and not for others where you could employ another type of web accelerator.