APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that could boost a database-driven website several times. Every time a PHP page is accessed, the script pulls the content that has to be loaded from a database, parses and compiles the code, and then the result is shown to the site visitor. While this is necessary for sites with constantly changing content, it's a complete waste of processing time and system resources for an Internet site which doesn't change, such as an informational portal that displays the same content at all times. When the web pages for such a site are compiled, APC caches them and delivers them whenever a visitor loads them. Since this saves the time to request content from the database and to parse and compile the program code, the Internet site will load considerably faster. APC is very helpful particularly for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to employ APC for your web apps with any of the cloud website hosting plans that we offer as it's pre-installed on our cloud web hosting platform. Activating it will take just a single click inside the Hepsia Control Panel that comes with our shared solutions and several minutes later it will start caching the code of your software applications. Our platform is really flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For example, you can activate APC for a couple of releases of PHP for the whole account and set the version that each site will use, or you can have the same version of PHP, but activate or deactivate APC just for specified sites. You can do this by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for each and every script application which runs on your new semi-dedicated server since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires a click in the Hepsia Control Panel, but if necessary, you can use the module just for certain websites. This is possible because of the versatility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can select what release will be used for this particular website and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the standard ones for your account, so you will be able to take full advantage of APC for some scripts where the module will make a difference and not for others where you can use some other kind of web accelerator.