APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can boost a database-driven website several times. Every time a PHP web page is accessed, the script pulls the content that should be loaded from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for websites with regularly changing content, it's a waste of processing time and system resources for a site that does not change, like an informational portal that displays identical content on a regular basis. When the web pages for such a site are compiled, APC caches them and delivers them each time a user loads them. As this saves the time to obtain content from the database and to parse and compile the code, the website will load a lot faster. APC is really helpful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Website Hosting

You will be able to use APC for your web applications with any of the website hosting packages that we offer as it is pre-installed on our cloud website hosting platform. Enabling it will take just a click in the Hepsia Control Panel that comes with our shared solutions and several minutes later it will begin caching the code of your software apps. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of the scripts. For example, you will be able to activate APC for several versions of PHP for the whole account and select the version that each website can use, or you could have the exact same version of PHP, but activate or deactivate APC just for specific Internet sites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all our semi-dedicated server packages and activating the framework is done with a mouse click from the Hepsia Control Panel, so even when you lack prior experience, you will be able to use it in order to boost your sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you'll be able to use. It will take you only a click to allow APC for one or several PHP releases 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 in general, you'll be able to set what PHP version will be used and whether APC should be allowed or not. In this way, one website can use APC and PHP 5.3, for example, and another one can use another accelerator and PHP 5.5.