APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP websites save their content in a database which is accessed whenever a visitor opens a webpage. The content that should be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the website visitor. All these actions need some processing time and include reading and writing on the web server for each page that is accessed. While this cannot be avoided for websites with constantly changing content, there are many sites that offer the same content on many of their webpages constantly - blogs, informational portals, hotel and restaurant websites, etcetera. APC is quite useful for this type of Internet sites because it caches the already compiled code and displays it every time visitors browse the cached pages, so the code does not need to be parsed and compiled again. This will not only greatly reduce the server load, but it will also boost the speed of any site many times.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application that is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes a click in the Hepsia Control Panel, but if necessary, you could use the module only for particular Internet sites. This is possible because of the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings which are different from the standard ones for your account, so you will be able to take full advantage of APC for some scripts where the module makes a difference and not for others where you could employ some other type of web accelerator.