APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP Internet sites save their content inside a database which is accessed whenever a visitor opens a page. The content which has to be displayed is gathered and the code is parsed and compiled before it's delivered to the site visitor. All of these actions need some processing time and require reading and writing on the server for every single page that is accessed. While this cannot be avoided for Internet sites with regularly changing content, there are numerous sites which have the exact same content on a number of of their webpages at all times - blogs, informational portals, hotel and restaurant sites, etc. APC is very useful for this kind of sites because it caches the already 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. This will not only minimize the server load, but it will also boost the speed of any site a few times.
APC (PHP Opcode Cache) in Web Hosting
You will be able to use APC for your web applications with all of the web hosting
plans that we offer as it's pre-installed on our cloud website hosting platform. Turning it on will take just a mouse click inside the Hepsia Control Panel which comes with our shared solutions and several minutes later it will start caching the code of your apps. Our platform is quite flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For instance, you will be able to activate APC for several versions of PHP for the entire account and choose the version that each site will use, or you could have the exact 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 program code within the domain or subdomain folder where you need the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of our semi-dedicated server
plans and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even when you don't have any prior experience, you can use it in order to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you could use. It will take you just a click to enable APC for one or a couple of PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you can set what PHP version will be used and whether APC has to be enabled or not. This way, one website may use APC and PHP 5.3, for instance, while another one could use some different accelerator and PHP 5.5.