APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP Internet sites hold their content within a database which is accessed whenever a visitor loads a webpage. The content which should be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions need some processing time and require reading and writing on the server for every single page that is loaded. While this cannot be avoided for Internet sites with constantly changing content, there are various sites which feature the exact same content on a lot of of their webpages constantly - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is very useful for this type of Internet sites because it caches the already compiled code and shows it when visitors browse the cached pages, so the code does not need to be parsed and compiled all over again. Not only will this reduce the server load, but it will also boost the speed of any website many times.

APC (PHP Opcode Cache) in Shared Hosting

You will be able to employ APC for your web apps with all of the shared hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Turning it on will take just a single click inside the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it'll begin caching the code of your software applications. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of the scripts. For example, you can activate APC for a couple of releases of PHP for the whole account and set the version that each site can use, or you can have the exact same version of PHP, but activate or deactivate APC just for specified Internet sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server solutions and activating this framework is done with a mouse click inside the Hepsia Control Panel, so even if you lack prior experience, you'll be able to use it in order to quicken your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you'll have freedom with regards to the scripts and web accelerators you'll be able to use. It will take you only a click to activate 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 will be able to set what PHP version will be used and whether APC should be enabled or not. This way, one Internet site could use APC and PHP 5.3, for instance, and another one may use some other accelerator and PHP 5.5.