APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could speed up a database-driven site several times. Any time a PHP webpage is opened, the script pulls the website content that has to be loaded from a database, parses and compiles the program code, and then the result is displayed to the website visitor. While this is necessary for sites with frequently changing content, it's a complete waste of processing time and system resources for a site that does not change, such as an informational portal that shows identical content at all times. When the web pages for such a site are compiled, APC caches them and delivers them every time a visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load considerably faster. APC is very useful particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Hosting
You will be able to employ APC for your web applications with any of the cloud hosting plans that we provide because it's pre-installed on our cloud web hosting platform. Activating it will take only a single click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll begin caching the code of your apps. Our platform is quite flexible, so you will be able to use different configurations in accordance with the system requirements of your scripts. For example, you can activate APC for a couple of versions of PHP for the whole account and set the version that each Internet site will use, or you could have the same version of PHP, but enable or disable APC only for specific Internet sites. You can do this by placing 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 Servers
You can take full advantage of APC with our semi-dedicated server packages and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you can use it to boost your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you can use. It will take you just a click to allow 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 not the same as the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC has to be allowed or not. In this way, one Internet site can use APC and PHP 5.3, for instance, whereas another one could use some different accelerator and PHP 5.5.