APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven Internet site several times. Any time a PHP web page is opened, the script pulls the website content that needs to be loaded from a database, parses and compiles the code, and then the result is displayed to the website visitor. While this is necessary for websites with routinely changing content, it's a waste of processing time and system resources for a website which doesn't change, such as an informational portal which shows identical content on a regular basis. As soon as the web pages for such a website are compiled, APC caches them and delivers them each time a user opens them. Since this saves the time to collect content from the database and to parse and compile the code, the site will load a lot quicker. APC is very useful in particular for scripts with large source code.

APC (PHP Opcode Cache) in Hosting

You will be able to use APC for your web applications with all of the hosting packages that we provide because it is pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will start caching the code of your applications. Our platform is quite flexible, so you'll be able to use several configurations depending on the system requirements of your scripts. For instance, you'll be able to activate APC for several releases of PHP for the whole account and set the version that each Internet site will use, or you could have the same version of PHP, but enable or disable APC just for particular websites. You can do this by putting a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC with our semi-dedicated server plans and activating the framework is done with a click inside the Hepsia Control Panel, so even if you have no previous experience, you will be able to use it in order to speed up your sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you will have freedom regarding the scripts and web accelerators you'll be able to employ. It will take you just 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 different from the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC has to be allowed or not. In this way, one website may use APC and PHP 5.3, for example, and another one can use another accelerator and PHP 5.5.