APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP websites store their content in a database which is accessed whenever a visitor opens a webpage. The content that has to be shown is gathered and the code is parsed and compiled prior to it being delivered to the site visitor. All these actions need some processing time and involve reading and writing on the hosting server for each page that is opened. While this cannot be avoided for websites with regularly changing content material, there are various Internet sites that offer the very same content on a number of of their pages all of the time - blogs, info portals, hotel and restaurant sites, etc. APC is very useful for this type of Internet sites since it caches the already compiled code and shows it whenever visitors browse the cached pages, so the code doesn't need to be parsed and compiled again. Not only will this greatly reduce the server load, but it will also raise the speed of any Internet site many times.
APC (PHP Opcode Cache) in Website Hosting
You will be able to employ APC for your web apps with all of the website hosting plans that we provide as it is pre-installed on our cloud website hosting platform. Activating it will take only a single click inside the Hepsia Control Panel that comes with our shared solutions and a few minutes later it'll start caching the code of your software applications. Our platform is really flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For instance, you'll be able to activate APC for several versions of PHP for the whole account and specify the version that each Internet site can use, or you can have the same version of PHP, but enable or disable APC just for specific Internet sites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can 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 generated. Activating or deactivating APC for the whole account requires a single click in the Hepsia Control Panel, but if necessary, you could use the module only for specific sites. This is possible due to 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 will be able to select 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 that are different from the standard ones for the account, so you could take advantage of APC for some scripts where the module will make a difference and not for others where you can take advantage of a different type of web accelerator.