APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven Internet site several times. Any time a PHP page is accessed, the script pulls the content that should be loaded from a database, parses and compiles the program code, then the result is shown to the site visitor. While this is necessary for sites with routinely changing content, it is a complete waste of processing time and system resources for an Internet site that doesn't change, for instance an informational portal that shows identical content all the time. When the web pages for such a website are compiled, APC caches them and delivers them whenever a website visitor opens them. As this saves the time to obtain content from the database and to parse and compile the program code, your website will load significantly quicker. APC is very helpful in particular for scripts with massive source code.
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 web hosting platform. Turning it on will take only a single click in the Hepsia Control Panel which is provided with our shared solutions and a couple of minutes later it'll start 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 your scripts. For instance, you will be able to activate APC for several releases of PHP for the whole account and pick the version that each site will use, or you could have the exact same version of PHP, but activate or deactivate APC only for specific websites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you need the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of our semi-dedicated server solutions and activating this framework is done with a click from the Hepsia Control Panel, so even if you don't have any prior experience, you could use it in order to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you could employ. It will take you only a click to enable APC for one or a couple of PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you can set what PHP release will be used and whether APC has to be enabled or not. This way, one website may use APC and PHP 5.3, for instance, whereas another one can use some other accelerator and PHP 5.5.