APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP Internet sites hold their content inside a database which is accessed whenever a visitor opens a page. The content that needs to be viewed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. These actions take some processing time and require reading and writing on the server for each and every page which is opened. While this can't be avoided for websites with regularly changing content, there're many websites that present the same content on a lot of of their pages at all times - blogs, informational portals, hotel and restaurant Internet sites, and many others. APC is very useful for this kind of Internet sites since it caches the already compiled code and displays it every time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. 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 will be able to employ APC for your web applications with any of the cloud hosting plans that we provide as it's pre-installed on our cloud web hosting platform. Activating it will take just a single click in the Hepsia Control Panel that is provided with our shared plans and several minutes later it will begin caching the program code of your applications. Our platform is extremely flexible, so you'll be able to use different configurations based on the system requirements of the scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and choose the version that each site can use, or you can have the same version of PHP, but activate or deactivate APC just for particular websites. You can do this by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take full advantage of APC with all our semi-dedicated server solutions and activating the framework is done with a mouse click inside the Hepsia Control Panel, so even if you have no 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 created is compatible with multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you will be able to use. It will take you only a click to enable 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'll be able to set what PHP release will be used and whether APC should be allowed or not. This way, one site may use APC and PHP 5.3, for example, and another one can use another accelerator and PHP 5.5.