APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP Internet sites keep their content inside a database which is accessed whenever a visitor loads a webpage. The content which should be displayed is gathered and the code is parsed and compiled before it's delivered to the site visitor. These actions take some processing time and include reading and writing on the web server for each and every page which is opened. While this can't be avoided for sites with constantly changing content, there are a lot of websites that offer the very same content on a number of of their pages constantly - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is quite useful for this type of Internet sites since it caches the previously compiled code and displays it whenever visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. This will not only decrease the server load, but it will also increase the speed of any site several times.

APC (PHP Opcode Cache) in Web Hosting

You'll be able to employ APC for your web apps with any of the web hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Activating it will take just a click in the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it will begin caching the program code of your software apps. Our platform is really flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For example, you will be able to activate APC for several versions of PHP for the entire account and pick the version that each site will use, or you could have the same version of PHP, but enable or disable APC just for specific sites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each script application that runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires one click inside the Hepsia Control Panel, but if needed, you can use the module only for particular Internet sites. This is possible because of the versatility 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 choose what release will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings that are different from the standard ones for your account, so you will be able to take full advantage of APC for many scripts where the module can make a difference and not for others where you could take advantage of some other type of web accelerator.