APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP Internet sites keep their content within a database which is accessed whenever a visitor loads a webpage. The content that needs to be shown is retrieved and the code is parsed and compiled before it's delivered to the site visitor. All of these actions take some processing time and include reading and writing on the hosting server for each page which is opened. While this can't be avoided for Internet sites with constantly changing content material, there are a lot of sites which present the same content on a number of of their webpages all of the time - blogs, informational portals, hotel and restaurant websites, etc. APC is really useful for this kind of sites since it caches the already compiled code and displays it whenever visitors browse the cached pages, so the code does not need to be parsed and compiled all over again. Not only will this decrease the server load, but it will also boost the speed of any Internet site a few times.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to employ APC for your web applications with any of the cloud hosting plans that we offer as it is pre-installed on our cloud website hosting platform. Enabling it will take just a single click in the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it will start caching the program code of your apps. Our platform is rather flexible, so you will be able to use different configurations determined by the system requirements of your scripts. For instance, you can activate APC for several releases of PHP for the entire account and choose the version that each website can use, or you could have the very same version of PHP, but activate or deactivate APC only for specific websites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with all our semi-dedicated hosting solutions and activating the framework is performed with a click inside the Hepsia Control Panel, so even if you don't have any previous experience, you can use it to speed up your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you could employ. It will take you only a click to enable APC for one or several PHP versions 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 in general, you can set what PHP release will be used and whether APC has to be allowed or not. In this way, one Internet site may use APC and PHP 5.3, for example, while another one could use a different accelerator and PHP 5.5.