APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could boost a database-driven site several times. Each time a PHP web page is opened, the script pulls the content that needs to be shown from a database, parses and compiles the program code, and then the result is shown to the visitor. While this is necessary for Internet sites with frequently changing content, it is a waste of processing time and resources for an Internet site that doesn't change, for instance an informational portal which shows the very same content on a regular basis. When the webpages for such a website are compiled, APC caches them and delivers them each time a website visitor accesses them. As this saves the time to collect content from the database and to parse and compile the program code, the Internet site will load considerably quicker. APC is very useful in particular for scripts with large source code.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to employ APC for your web apps with any of the cloud hosting plans that we provide because it is pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click inside the Hepsia Control Panel which is provided with our shared plans and several minutes later it will start caching the program code of your software applications. Our platform is really flexible, so you will be able to use different configurations based on the system requirements of your scripts. For instance, you will be able to activate APC for several versions of PHP for the whole account and set the version that each website will use, or you can have the exact same version of PHP, but enable or disable APC just for particular sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with our semi-dedicated server plans and activating this framework is performed with a mouse click from the Hepsia Control Panel, so even if you don't have any prior experience, you can use it to accelerate your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you'll have flexibility regarding the scripts and web accelerators you could use. It will take you just a click to enable 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 not the same as the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC has to be enabled or not. This way, one Internet site could use APC and PHP 5.3, for instance, whereas another one may use some different accelerator and PHP 5.5.