APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can boost a database-driven website several times. Any time a PHP webpage is opened, the script pulls the content that needs to be displayed from a database, parses and compiles the code, then the result is shown to the visitor. While this is necessary for websites with frequently changing content, it's a waste of processing time and resources for a website which doesn't change, for instance an informational portal which shows the same content on a regular basis. When the pages for such an Internet site are compiled, APC caches them and delivers them every time a website visitor loads them. Since this saves the time to get content from the database and to parse and compile the code, your website will load much quicker. APC is very useful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Hosting

You will be able to use APC for your web applications with any of the hosting plans that we offer because it is pre-installed on our cloud web hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will begin caching the program code of your software applications. Our platform is really flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For instance, you can activate APC for several releases of PHP for the entire account and pick the version that each Internet site can use, or you can have the same version of PHP, but enable or disable APC just for particular sites. This is done by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC with our semi-dedicated hosting packages and activating this framework is done with a mouse click in the Hepsia Control Panel, so even when you have no prior experience, you could use it to boost your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you will have freedom regarding the scripts and web accelerators you can employ. It will take you only 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 that are not the same as the ones for the account in general, you could set what PHP release will be used and whether APC should be allowed or not. In this way, one Internet site could use APC and PHP 5.3, for example, while another one may use some other accelerator and PHP 5.5.