APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could speed up a database-driven website several times. When a PHP webpage is opened, the script pulls the content that should be loaded from a database, parses and compiles the code, and the result is shown to the website visitor. While this is necessary for Internet sites with constantly changing content, it's a total waste of processing time and resources for a website which doesn't change, like an informational portal that shows the same content all the time. As soon as the webpages for such a website are compiled, APC caches them and delivers them each time a website visitor opens them. As this saves the time to request content from the database and to parse and compile the program code, your website will load much faster. APC is very helpful especially for scripts with massive source code.
APC (PHP Opcode Cache) in Website Hosting
You can use APC for your web apps with all of the website hosting plans that we offer because it is pre-installed on our cloud web hosting platform. Activating it will take just a single click in the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it will begin caching the program code of your apps. Our platform is extremely flexible, so you'll be able to use several configurations in accordance with the system requirements of the scripts. For instance, you could activate APC for several versions of PHP for the whole account and specify the version that each Internet site can use, or you could have the exact same version of PHP, but enable or disable APC just for particular websites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you require the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with all our semi-dedicated hosting solutions and activating this framework is done with a click from the Hepsia Control Panel, so even when you have no prior experience, you can use it in order to accelerate your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you'll have freedom with regards to the scripts and web accelerators you'll be able to employ. It will take you just a click to enable APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you could set what PHP version will be used and whether APC should be enabled or not. In this way, one Internet site could use APC and PHP 5.3, for example, whereas another one could use some other accelerator and PHP 5.5.