APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that could boost a database-driven Internet site several times. Any time a PHP page is accessed, the script pulls the content which should be shown from a database, parses and compiles the code, and then the result is displayed to the website visitor. While this is necessary for Internet sites with regularly changing content, it is a complete waste of processing time and resources for a site which does not change, such as an informational portal which shows the same content at all times. As soon as the webpages for such an Internet site are compiled, APC caches them and delivers them each time a user accesses them. Since this saves the time to get content from the database and to parse and compile the code, the Internet site will load a lot quicker. APC is very efficient in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Web Hosting
You'll be able to employ APC for your web apps with all of the web hosting
plans that we provide as it's pre-installed on our cloud web hosting platform. Turning it on will take only a click in the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll begin caching the code of your applications. Our platform is rather flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and specify the version that each site will use, or you can have the very same version of PHP, but activate or deactivate APC just for specified websites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all our semi-dedicated server
solutions and activating the framework is performed with a mouse click in the Hepsia Control Panel, so even when you lack previous experience, you could use it to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you will have freedom with regards to 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 in the domain/subdomain folders where you need settings that are different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC should be allowed or not. In this way, one website may use APC and PHP 5.3, for instance, while another one can use a different accelerator and PHP 5.5.