APC (PHP Opcode Cache)
Find out what the acronym ‘APC’ represents, exactly what APC is able to do PHP effectiveness-wise and how to activate it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites keep their content within a database which is accessed whenever a visitor opens a page. The content that needs to be displayed is gathered and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and require reading and writing on the server for each page that is opened. While this cannot be avoided for sites with constantly changing content material, there are a lot of sites that have the exact same content on a number of of their pages all the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this type of websites as it caches the already compiled code and shows it when visitors browse the cached pages, so the code doesn't have 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 Internet site many times.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for each and every script application that is run on your new
semi-dedicated server because 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 necessary, you could use the module just for specific Internet sites. This is possible because of the versatility of our cloud platform - multiple versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you will be able to pick what version will be used for this specific site and whether APC has to be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for your account, so you can take full advantage of APC for some scripts where the module makes a difference and not for others where you can use another type of web accelerator.