APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could speed up a database-driven Internet site several times. Each time a PHP page is accessed, the script pulls the content that has to be shown 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 frequently changing content, it's a complete waste of processing time and resources for an Internet site which does not change, like an informational portal which displays identical content at all times. As soon as the web pages for such a site are compiled, APC caches them and delivers them any time a user loads them. Since this saves the time to collect content from the database and to parse and compile the program code, the site will load considerably faster. APC is really useful particularly for scripts with large source code.

APC (PHP Opcode Cache) in Shared Website Hosting

You will be able to employ APC for your web apps with all of the shared website hosting packages that we provide because it's pre-installed on our cloud web hosting platform. Enabling it will take only a mouse click inside the Hepsia Control Panel which comes with our shared plans and a few minutes later it'll start caching the program code of your software applications. Our platform is extremely flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For instance, you can activate APC for several versions of PHP for the whole account and select the version that each Internet site can use, or you can have the same version of PHP, but enable or disable APC just for specified websites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can take full advantage of APC with all our semi-dedicated hosting plans and activating the framework is done with a click from the Hepsia Control Panel, so even if you lack previous experience, you will be able to use it to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you can use. It will take you just a click to allow APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC needs to be allowed or not. In this way, one website could use APC and PHP 5.3, for instance, and another one can use another accelerator and PHP 5.5.