APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven website several times. When a PHP webpage is opened, the script pulls the site content that should be shown from a database, parses and compiles the program code, then the result is shown to the visitor. While this is necessary for websites with routinely changing content, it's a waste of processing time and system resources for a site that does not change, for example an informational portal that displays identical content on a regular basis. Once the pages for such a site are compiled, APC caches them and delivers them each time a website visitor opens them. Since this saves the time to collect content from the database and to parse and compile the program code, your Internet site will load much quicker. APC is really useful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is pre-installed on our advanced cloud platform, so you will be able to use it for your web applications whatever the shared hosting plan that you pick when you sign up. The module can be enabled through the Hepsia internet hosting Control Panel that is used to control the shared accounts and only a few minutes later it will speed up your sites because it will start caching their program code. In case you need to run websites with various system requirements or use specific web accelerators for any of them, you could customize the software environment by placing a php.ini file inside the desired domain folder. This way, you can enable or disable APC not only for a specific Internet site without affecting the other sites in the account, but also for a particular version of PHP as our platform supports multiple versions at the same time.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server solutions and activating the framework is done with a mouse click inside the Hepsia Control Panel, so even when you don't have any previous experience, you can use it in order to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you could use. It will take you just a click to activate APC for one or several PHP releases and by using a php.ini file in 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 version will be used and whether APC should be enabled or not. In this way, one website may use APC and PHP 5.3, for instance, while another one may use some other accelerator and PHP 5.5.