APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven site several times. Any time a PHP web page is accessed, the script pulls the site content which has to be loaded from a database, parses and compiles the program code, then the result is displayed to the site visitor. While this is necessary for sites with constantly changing content, it is a complete waste of processing time and system resources for a website which does not change, like an informational portal which shows the very same content at all times. As soon as the webpages for such an Internet site are compiled, APC caches them and delivers them whenever a visitor opens them. As this saves the time to get content from the database and to parse and compile the program code, your website will load a lot faster. APC is very helpful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Website Hosting

You will be able to employ APC for your web applications with any of the cloud website hosting packages that we provide as it is pre-installed on our cloud web hosting platform. Activating it will take only a click in the Hepsia Control Panel which is provided with our shared solutions and a couple of minutes later it'll start caching the code of your applications. Our platform is very flexible, so you'll be able to use different configurations depending on the system requirements of the scripts. For instance, you will be able to activate APC for a couple of releases of PHP for the entire account and choose the version that each website will use, or you could have the very same version of PHP, but activate or deactivate APC just for specific websites. You can do this by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every script application which is run 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 inside the Hepsia Control Panel, but if necessary, you can use the module only for certain sites. This is possible because of the flexibility of our cloud platform - multiple versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can choose what version will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings which are different from the ones for the account, so you will be able to take advantage of APC for many scripts where the module makes a difference and not for others where you may employ a different type of web accelerator.