APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' mean? Why is the presence of APC in your account essential as far as your PHP-based sites are concerned? How can you activate this feature?
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could boost a database-driven Internet site several times. When a PHP page is accessed, the script pulls the site content that has to be shown from a database, parses and compiles the code, then the result is displayed to the website visitor. While this is necessary for Internet sites with frequently changing content, it is a total waste of processing time and system resources for a site that doesn't change, like an informational portal which shows the very same content at all times. When the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a website visitor opens them. Since this saves the time to collect content from the database and to parse and compile the code, the website will load significantly quicker. APC is very effective 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 our
semi-dedicated server solutions and activating the framework is done with a mouse click in the Hepsia Control Panel, so even when you lack prior experience, you can use it in order to accelerate your websites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you will be able to use. It will take you only a click to allow APC for one or a couple of PHP versions 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 has to be allowed or not. This way, one website can use APC and PHP 5.3, for example, whereas another one can use some different accelerator and PHP 5.5.