APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven site several times. When a PHP web page is accessed, the script pulls the content that needs to be shown from a database, parses and compiles the program code, and the result is shown to the website visitor. While this is necessary for websites with constantly changing content, it is a complete waste of processing time and resources for an Internet site that doesn't change, for example an informational portal that displays identical content on a regular basis. As soon as the web pages for such a site are compiled, APC caches them and delivers them each time a website visitor loads them. Since this saves the time to request content from the database and to parse and compile the code, your website will load significantly faster. APC is very effective especially for scripts with large source code.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC for your web apps with any of the shared hosting packages that we provide since it's pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it will begin caching the program code of your software applications. Our platform is extremely flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For instance, you'll be able to activate APC for a couple of releases of PHP for the whole account and specify the version that each website can use, or you can have the exact same version of PHP, but activate or deactivate APC just for specified sites. You can do this by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with all our semi-dedicated hosting packages and activating this framework is done with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you will be able to use it in order to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you'll have flexibility regarding the scripts and web accelerators you can use. It will take you only a click to allow APC for one or a couple of 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 as a whole, you could set what PHP release will be used and whether APC should be allowed or not. This way, one site could use APC and PHP 5.3, for instance, whereas another one can use some different accelerator and PHP 5.5.