APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP websites save their content inside a database which is accessed whenever a visitor loads a webpage. The content that has to be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions take some processing time and require reading and writing on the web server for each page that is accessed. While this can't be avoided for Internet sites with regularly changing content material, there are various sites that have the very same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is extremely useful for such websites since it caches the already compiled code and shows it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled again. Not only will this reduce the server load, but it will also increase the speed of any website many times.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to use APC for your web apps with all of the cloud hosting packages that we provide because it is pre-installed on our cloud web hosting platform. Turning it on will take just a single click in the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it'll begin caching the code of your software applications. Our platform is very flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For example, you can activate APC for a couple of releases of PHP for the whole account and specify the version that each Internet site will use, or you could have the same version of PHP, but activate or deactivate APC just for specific websites. You can do this by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with all our semi-dedicated hosting solutions and activating the framework is done with a click in the Hepsia Control Panel, so even if you lack previous experience, you can use it in order to accelerate 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 flexibility with regards to the scripts and web accelerators you could use. It will take you only a click to allow 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 different from the ones for the account in general, you could set what PHP version will be used and whether APC needs to be enabled or not. In this way, one website could use APC and PHP 5.3, for example, and another one could use another accelerator and PHP 5.5.