APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can speed up a database-driven website several times. Any time a PHP webpage is opened, the script pulls the site content which needs to be shown from a database, parses and compiles the code, and the result is shown to the website visitor. While this is necessary for Internet sites with frequently changing content, it's a waste of processing time and system resources for a website that doesn't change, for instance an informational portal which shows the same content at all times. Once the webpages for such an Internet site are compiled, APC caches them and delivers them each time a website visitor opens them. Since this saves the time to request content from the database and to parse and compile the code, your Internet site will load significantly quicker. APC is really helpful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

You can employ APC for your web apps with any of the shared hosting plans that we provide since it is pre-installed on our cloud website hosting platform. Activating it will take only a click in the Hepsia Control Panel that comes with our shared plans and several minutes later it will begin caching the code of your software apps. Our platform is very flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For example, you will be able to activate APC for several versions of PHP for the whole account and specify the version that each Internet site can use, or you could have the same version of PHP, but activate or deactivate APC only for specified Internet sites. You can do this by putting 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 Hosting

You can take advantage of APC with all our semi-dedicated hosting plans and activating this framework is done with a mouse click from the Hepsia Control Panel, so even when you lack 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 freedom regarding the scripts and web accelerators you'll 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 inside the domain/subdomain folders where you need settings which are not the same as the ones for the account in general, you will be able to set what PHP version will be used and whether APC needs to be allowed or not. In this way, one Internet site may use APC and PHP 5.3, for example, whereas another one may use some different accelerator and PHP 5.5.