APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could speed up a database-driven site several times. When a PHP webpage is accessed, the script pulls the website content that should be loaded from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for Internet sites with routinely changing content, it's a waste of processing time and system resources for an Internet site which doesn't change, like an informational portal which shows identical content at all times. Once the web pages for such a website are compiled, APC caches them and delivers them whenever a user accesses them. As this saves the time to obtain content from the database and to parse and compile the program code, the site will load a lot quicker. APC is really useful especially for scripts with large source code.

APC (PHP Opcode Cache) in Shared Web Hosting

APC is pre-installed on our leading-edge cloud platform, which means that you will be able to use it for your web applications whatever the shared web hosting solution that you pick when you sign up. The module can be activated through the Hepsia web hosting Control Panel that is used to control the shared accounts and just a few minutes later it'll speed up your sites because it'll start caching their code. In case you need to run sites with different system requirements or use different web accelerators for some of them, you will be able to customize the software environment by putting a php.ini file in the desired domain folder. This way, you could enable or disable APC not only for a specific website without affecting the other Internet sites in the account, but also for a specific version of PHP since our platform is compatible with multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use 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 accelerate your sites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you only 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 which are not the same as the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC has to be enabled or not. In this way, one website could use APC and PHP 5.3, for instance, and another one may use a different accelerator and PHP 5.5.