APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that could speed up a database-driven site several times. When a PHP web page is accessed, the script pulls the content which needs to be loaded from a database, parses and compiles the program code, then the result is shown to the website visitor. While this is necessary for Internet sites with regularly changing content, it is a complete waste of processing time and system resources for an Internet site which does not change, such as an informational portal that displays the exact same content all the time. When the webpages for such a site are compiled, APC caches them and delivers them whenever a website visitor accesses them. As this saves the time to collect content from the database and to parse and compile the program code, your website will load a lot faster. APC is really useful particularly for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

You can employ APC for your web applications with all of the cloud hosting packages that we provide since it is pre-installed on our cloud web hosting platform. Activating it will take just a click inside the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it will start caching the program code of your apps. Our platform is rather flexible, so you will be able to use different configurations determined by the system requirements of your scripts. For instance, you'll be able to activate APC for several versions of PHP for the whole account and specify the version that each website will use, or you could have the exact same version of PHP, but enable or disable APC just for particular Internet sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the state-of-the-art cloud Internet hosting platform where all semi-dedicated server accounts are made, so you'll be able to employ it irrespective of the plan you select. Enabling the module is performed through the Hepsia Control Panel and takes only a click, so you will not need any skills or prior experience in order to take full advantage of it. As you will be able to employ several releases of PHP at once, you could modify the software environment for each website which you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will enable you to set what release of PHP this specific website will use and whether APC needs to be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run various scripts and employ different web accelerators for sites which are in the same account.