APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can boost a database-driven website several times. Each time a PHP web page is opened, the script pulls the site content that should be displayed from a database, parses and compiles the code, and then the result is displayed to the visitor. While this is necessary for websites with frequently changing content, it is a waste of processing time and resources for a website that does not change, for example an informational portal which displays the same content all the time. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them each time a user accesses 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 effective especially for scripts with massive source code.

APC (PHP Opcode Cache) in Hosting

You will be able to use APC for your web applications with all of the hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Activating it will take just a single click inside the Hepsia Control Panel that is provided with our shared solutions and several minutes later it will start caching the program code of your software apps. Our platform is very flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For instance, you will be able to activate APC for several releases of PHP for the whole account and pick the version that each Internet site can use, or you could have the same version of PHP, but activate or deactivate APC only for specific sites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all of our semi-dedicated server plans and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even if you have no previous experience, you will be able to use it in order to quicken your sites. As the cloud hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you will be able to employ. It will take you only a click to enable 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 as a whole, you can set what PHP release will be used and whether APC should be allowed or not. This way, one Internet site could use APC and PHP 5.3, for instance, while another one may use some different accelerator and PHP 5.5.