APC, which stands 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 Internet site several times. Every time a PHP page is accessed, the script pulls the content that should be displayed from a database, parses and compiles the code, then the result is displayed to the site visitor. While this is necessary for Internet sites with routinely changing content, it is a waste of processing time and resources for a site which does not change, such as an informational portal which shows the very same content all the time. When the web pages for such a website are compiled, APC caches them and delivers them whenever a website visitor loads them. Since this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load a lot faster. APC is very useful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is available with every single shared hosting plan that we offer and you can enable it with only a click through your Hepsia Control Panel if you'd like to use it for your applications. A couple of minutes later the framework will be active and you'll experience the considerably faster loading speed of your database-driven websites. Since we offer different releases of PHP which could also be selected from Hepsia, you'll even be able to to employ APC for scripts which require different versions of PHP within the very same account. Our advanced cloud web hosting platform is extremely adaptable, so if you use another web accelerator for any website and it interferes with APC, you'll be able to activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with our semi-dedicated server solutions and activating the framework is done with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you could use it to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you will be able to 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 that are different from the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC has to be enabled or not. In this way, one site may use APC and PHP 5.3, for instance, and another one may use a different accelerator and PHP 5.5.