APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP Internet sites save their content within a database which is accessed whenever a visitor loads a webpage. The content which has to be shown is gathered and the code is parsed and compiled before it is delivered to the site visitor. All of these actions take some processing time and require reading and writing on the hosting server for each and every page which is loaded. While this cannot be avoided for sites with constantly changing content, there are numerous sites that offer the exact same content on many of their webpages all the time - blogs, info portals, hotel and restaurant sites, etc. APC is really useful for this type of Internet sites because it caches the already compiled code and shows it every time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. This will not only reduce the server load, but it will also boost the speed of any site 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 packages that we offer as it's pre-installed on our cloud website hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel which comes with our shared solutions and several minutes later it'll start caching the program code of your applications. Our platform is quite flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For instance, you could activate APC for several versions of PHP for the whole account and set the version that each Internet site can use, or you can have the very same version of PHP, but activate or deactivate APC only for particular sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each and every script application that runs on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account requires a click inside the Hepsia Control Panel, but if necessary, you can use the module only for certain Internet sites. This is possible as a result of the versatility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this specific Internet site and whether APC has to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for your account, so you can take full advantage of APC for many scripts where the module can make a difference and not for others where you can employ a different type of web accelerator.