APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP sites save their content in a database that is accessed whenever a visitor loads a webpage. The content which needs to be viewed is gathered and the code is parsed and compiled before it's delivered to the site visitor. All of these actions take some processing time and require reading and writing on the server for each and every page that is loaded. While this can't be avoided for websites with regularly changing content, there are a lot of websites that offer the exact same content on a number of of their pages constantly - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is really useful for this type of Internet sites as it caches the previously compiled code and shows it each time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it will also raise the speed of any website many times.

APC (PHP Opcode Cache) in Hosting

You can employ APC for your web apps with all of the hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which comes with our shared solutions and several minutes later it'll begin caching the program code of your software applications. Our platform is very flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For example, you could activate APC for a couple of releases of PHP for the entire account and select the version that each site will use, or you could have the very same version of PHP, but enable or disable APC only for specific Internet sites. This is done by putting 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 can use APC for each and every script application which is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account requires one click from the Hepsia Control Panel, but if necessary, you can use the module only for certain sites. This is possible on account of the versatility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you'll be able to pick what version will be used for this particular website and whether APC should be enabled or disabled. Using 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 advantage of APC for some scripts where the module can make a difference and not for others where you could employ another type of web accelerator.