APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP sites keep their content inside a database which is accessed whenever a visitor loads a webpage. The content which needs to be shown is gathered and the code is parsed and compiled before it's delivered to the site visitor. All these actions need some processing time and require reading and writing on the web server for each and every page that is loaded. While this cannot be avoided for websites with constantly changing content, there're many sites which offer the very same content on a lot of of their webpages all the time - blogs, informational portals, hotel and restaurant websites, etcetera. APC is extremely useful for this type of websites because it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it will also boost the speed of any Internet site many times.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC with each and every shared hosting package that we offer because it is already present on our advanced cloud platform and enabling it will take you just a few clicks in your Hepsia Control Panel. As our system is rather flexible, you can run Internet sites with various requirements and decide whether they will work with APC or not. For example, you could activate APC only for one release of PHP or you could do this for several of the releases that run on our platform. In addition, you can select if all Internet sites working with a certain PHP version will use APC or if the latter will be active just for selected sites and not for all Internet sites in the hosting account. The last option is useful if you would like to employ a different web accelerator for some of your Internet sites. These customizations are performed without difficulty by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every single script application which is run on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account takes one click from the Hepsia Control Panel, but if needed, you can use the module just for certain Internet sites. This is possible as a result of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this specific site and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for your account, so you could take advantage of APC for some scripts where the module can make a difference and not for others where you could employ some other type of web accelerator.