APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can boost a database-driven website several times. Every time a PHP web page is opened, the script pulls the site content that should be shown from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for Internet sites with frequently changing content, it's a waste of processing time and system resources for a site that does not change, for instance an informational portal that displays the same content on a regular basis. As soon as the web pages for such a website are compiled, APC caches them and delivers them every time a user opens them. As this saves the time to request content from the database and to parse and compile the program code, the website will load a lot faster. APC is really helpful especially for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Website Hosting
APC is pre-installed on our next generation cloud platform, therefore you'll be able to use it for your web applications irrespective of the cloud website hosting package that you pick when you register. The module can be enabled from your Hepsia web hosting Control Panel that is used to control the shared accounts and only a few minutes later it'll speed up your Internet sites because it will begin caching their code. If you need to run websites with various system requirements or employ specific web accelerators for any of them, you can customize the software environment by putting a php.ini file in the desired domain folder. This way, you could enable or disable APC not just for a specific Internet site without affecting the remaining websites in the account, but also for a specific version of PHP since our platform supports multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all our semi-dedicated server solutions and activating this framework is performed with a click from the Hepsia Control Panel, so even if you have no previous experience, you can use it to accelerate your websites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have flexibility regarding the scripts and web accelerators you will be able to 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 in the domain/subdomain folders where you need settings that are not the same as 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. In this way, one site can use APC and PHP 5.3, for example, and another one could use some other accelerator and PHP 5.5.