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 speed up a database-driven site several times. Every time a PHP page is accessed, the script pulls the site content which needs to be loaded from a database, parses and compiles the program code, then the result is shown to the website visitor. While this is necessary for websites with constantly changing content, it is a waste of processing time and resources for a site which doesn't change, for example an informational portal that shows the exact same content at all times. As soon as the web pages for such a site are compiled, APC caches them and delivers them whenever a visitor opens them. As 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 Hosting

You'll be able to employ APC for your web applications with all of the hosting plans that we offer since it's pre-installed on our cloud website hosting platform. Enabling it will take only a single click inside the Hepsia Control Panel which is provided with our shared solutions and several minutes later it'll begin caching the code of your software applications. Our platform is extremely flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and choose the version that each Internet site will use, or you can have the exact same version of PHP, but enable or disable APC only for specified websites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can take advantage of APC with all of our semi-dedicated server packages and activating this framework is done with a click in the Hepsia Control Panel, so even when you have no prior experience, you'll be able to use it to quicken your sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you'll have freedom with regards to the scripts and web accelerators you can employ. It will take you only a click to activate APC for one or several PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you can set what PHP release will be used and whether APC has to be enabled or not. In this way, one site can use APC and PHP 5.3, for instance, whereas another one can use some other accelerator and PHP 5.5.