APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could boost a database-driven website several times. Each time a PHP page is opened, the script pulls the website content which needs to be shown from a database, parses and compiles the program code, and the result is displayed to the site visitor. While this is necessary for sites with frequently changing content, it's a complete waste of processing time and resources for a website that does not change, such as an informational portal which shows identical content all the time. As soon as the webpages for such a website are compiled, APC caches them and delivers them each time a visitor accesses them. Since this saves the time to get content from the database and to parse and compile the program code, the Internet site will load significantly faster. APC is very effective particularly for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

You will be able to employ APC for your web applications with any of the shared hosting plans that we offer since it is pre-installed on our cloud web hosting platform. Activating it will take only a click in the Hepsia Control Panel that is provided with our shared solutions and a few minutes later it'll begin caching the program code of your apps. Our platform is quite flexible, so you'll be able to use different configurations determined by the system requirements of your scripts. For example, you'll be able to activate APC for several releases of PHP for the entire account and select the version that each Internet site can use, or you can have the exact same version of PHP, but enable or disable APC only for specific websites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server solutions and activating this framework is done with a click inside the Hepsia Control Panel, so even when you lack prior experience, you'll be able to use it to boost your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you will be able to use. It will take you just a click to activate APC for one or a couple of 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 can set what PHP release will be used and whether APC should be enabled or not. This way, one website could use APC and PHP 5.3, for instance, whereas another one could use some other accelerator and PHP 5.5.