APC (PHP Opcode Cache)
Uncover what the phrase ‘APC’ is short for, what exactly APC can do PHP performance-wise and the ways to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites keep their content within a database which is accessed whenever a visitor loads a page. The content that should be viewed is gathered and the code is parsed and compiled before it is delivered to the visitor. All of these actions take some processing time and involve reading and writing on the hosting server for each and every page which is opened. While this can't be avoided for websites with regularly changing content material, there are numerous websites that offer the same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant websites, etc. APC is really useful for this type of websites because it caches the previously compiled code and shows it every time visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. Not only will this lower the server load, but it'll also increase the speed of any site many times.
-
APC (PHP Opcode Cache) in Hosting
APC is pre-installed on our outstanding cloud platform, which means that you will be able to use it for your web applications irrespective of the
hosting package that you pick when you register. The module can be enabled from the Hepsia hosting Control Panel which is used to manage the shared accounts and only a few minutes later it'll speed up your sites as it'll start caching their code. In case you wish to run websites with various system requirements or use different web accelerators for any of them, you could customize the software environment by placing a php.ini file in the desired domain folder. In this way, you can enable or disable APC not just for a certain site without affecting the other websites in the account, but also for a certain version of PHP because our platform supports multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all our
semi-dedicated hosting plans and activating this framework is done with a mouse click inside the Hepsia Control Panel, so even if you don't have any prior experience, you will be able to use it in order to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you could employ. It will take you just a click to allow APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you could set what PHP version will be used and whether APC should be enabled or not. In this way, one Internet site may use APC and PHP 5.3, for instance, whereas another one can use a different accelerator and PHP 5.5.