APC (PHP Opcode Cache)
What does the acronym 'APC' signify? Just why is the presence of APC in your account important as far as your PHP-based websites are concerned? How can you enable this feature?
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 efficient for scripts with large source code and can speed up such an Internet site up to three times. PHP websites are dynamic and every time a user accesses a page, the script links to a database in order to retrieve some content, then the code is parsed and compiled before it is shown to the website visitor. If the output code doesn't change however, that's the case with Internet sites which display the exact same content all of the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it any time visitors browse a website, so the database doesn't have to be accessed and the code doesn't have to be parsed and compiled repeatedly, that in turn reduces the website loading time. The module could be pretty useful for informational websites, blogs, portfolios, and so on.
-
APC (PHP Opcode Cache) in Shared Website Hosting
You'll be able to use APC for your web applications with all of the
shared website hosting packages that we provide as it is pre-installed on our cloud website hosting platform. Turning it on will take just a single click in the Hepsia Control Panel which is provided with our shared plans and several minutes later it will start caching the program code of your apps. Our platform is rather flexible, so you'll be able to use different configurations based on the system requirements of the scripts. For example, you can activate APC for a couple of versions of PHP for the entire account and choose the version that each website will use, or you could have the exact same version of PHP, but activate or deactivate APC only for specified sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you need the customized configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all of our
semi-dedicated hosting solutions and activating this framework is done with a mouse click inside the Hepsia Control Panel, so even if you have no prior experience, you'll be able to use it to speed up your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you can use. It will take you only a click to activate APC for one or a couple of PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account in general, you could set what PHP version will be used and whether APC needs to be allowed or not. In this way, one Internet site could use APC and PHP 5.3, for instance, while another one may use a different accelerator and PHP 5.5.