APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can speed up a database-driven site several times. Every time a PHP web page is opened, the script pulls the website content which needs to be shown from a database, parses and compiles the code, and the result is displayed to the site visitor. While this is necessary for websites with constantly changing content, it is a complete waste of processing time and system resources for a website that does not change, for instance an informational portal that shows identical content on a regular basis. Once the webpages for such a website are compiled, APC caches them and delivers them each time a visitor loads them. Since this saves the time to request content from the database and to parse and compile the program code, the Internet site will load considerably faster. APC is very useful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of 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 could use it to quicken your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you can use. It will take you just a click to allow APC for one or several PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings which 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. This way, one Internet site can use APC and PHP 5.3, for instance, while another one can use another accelerator and PHP 5.5.