APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP websites store their content in a database which is accessed whenever a visitor loads a webpage. The content which has to be viewed is gathered and the code is parsed and compiled before it is delivered to the site visitor. All these actions take some processing time and require reading and writing on the web server for each page that is loaded. While this can't be avoided for sites with constantly changing content material, there're a lot of Internet sites which offer the exact same content on many of their pages all the time - blogs, info portals, hotel and restaurant sites, and many others. APC is extremely useful for this kind of Internet sites because it caches the already compiled code and displays it whenever visitors browse the cached webpages, so the code doesn't need to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it'll also increase the speed of any site many times.

APC (PHP Opcode Cache) in Web Hosting

You'll be able to use APC for your web applications with all of the web hosting plans that we offer because it is pre-installed on our cloud website hosting platform. Turning it on will take just a click inside the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll begin caching the 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 your scripts. For instance, you could activate APC for several releases of PHP for the whole account and select the version that each site can use, or you could have the exact same version of PHP, but activate or deactivate APC only for specified 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 will be able to use APC for every single 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 created. Activating or deactivating APC for the entire account requires one click in the Hepsia Control Panel, but if needed, you could use the module only for certain websites. This is possible on account of the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can choose what release will be used for this particular website and whether APC has to be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for your account, so you'll be able to take advantage of APC for some scripts where the module makes a difference and not for others where you can use a different kind of web accelerator.