APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that can boost a database-driven site several times. Every time a PHP page is opened, the script pulls the site content which should be shown 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 constantly changing content, it is a total waste of processing time and resources for a website that does not change, for instance an informational portal which shows the same content at all times. When the webpages for such a site are compiled, APC caches them and delivers them any time a visitor opens them. As this saves the time to get content from the database and to parse and compile the code, your Internet site will load much faster. APC is very useful particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Hosting
You will be able to use APC for your web apps with any of the cloud hosting packages that we offer since it is pre-installed on our cloud web hosting platform. Turning it on will take only a click inside the Hepsia Control Panel that is provided with our shared solutions and a few minutes later it will start caching the code of your applications. Our platform is rather flexible, so you will be able to use different configurations in accordance with the system requirements of the scripts. For instance, you'll be able to activate APC for a couple of releases of PHP for the entire account and choose the version that each Internet site will use, or you could have the same version of PHP, but activate or deactivate APC just for specific Internet sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with all our semi-dedicated hosting plans and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you'll be able to use it in order to quicken your websites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you'll have flexibility regarding the scripts and web accelerators you will be able to use. It will take you just a click to activate APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are different from the ones for the account in general, you'll be able to set what PHP release will be used and whether APC should be allowed or not. This way, one site may use APC and PHP 5.3, for example, whereas another one may use another accelerator and PHP 5.5.