APC (PHP Opcode Cache)
Find out what the abbreviation ‘APC’ means, what APC is able to do PHP functionality-wise and approaches to activate 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 Internet sites store their content inside a database that is accessed whenever a visitor opens a webpage. The content which has to be viewed is gathered and the code is parsed and compiled prior to it being delivered to the visitor. These actions need some processing time and require reading and writing on the web server for each page which is loaded. While this can't be avoided for websites with constantly changing content, there're numerous websites which present the very same content on a lot of of their pages constantly - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is exceptionally useful for such websites since it caches the previously compiled code and displays it every time visitors browse the cached webpages, so the code does not have to be parsed and compiled all over again. Not only will this minimize the server load, but it will also increase the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with each and every
shared hosting package that we offer and you could activate it with just a click through your Hepsia Control Panel if you'd like to use it for your applications. Several minutes later the framework will be active and you will notice the considerably faster loading speed of your database-driven websites. Since we offer several versions of PHP which could also be selected from Hepsia, you will even be able to employ APC for scripts which require different versions of PHP within the very same account. Our advanced cloud Internet hosting platform is very adaptable, so in case you use a different web accelerator for any Internet site and it disturbs APC, you will be able to activate or deactivate the latter for a certain site only by using a php.ini file generated in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with all our
semi-dedicated hosting packages and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even when you don't have any previous experience, you will be able to use it in order to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you could employ. It will take you just 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 as a whole, you will be able to set what PHP release will be used and whether APC should be allowed or not. In this way, one Internet site could use APC and PHP 5.3, for example, whereas another one can use some different accelerator and PHP 5.5.