APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven site several times. Each time a PHP webpage is opened, the script pulls the site content which has to be displayed from a database, parses and compiles the code, and then the result is shown to the website visitor. While this is necessary for Internet sites with constantly changing content, it's a waste of processing time and system resources for a site that does not change, such as an informational portal that shows the same content on a regular basis. As soon as the webpages for such a website are compiled, APC caches them and delivers them each time a website visitor opens them. As this saves the time to get content from the database and to parse and compile the code, the site will load significantly quicker. APC is very efficient in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Web Hosting

APC is provided with every single web hosting package that we offer and you could enable it with only a click through your Hepsia Control Panel if you want to use it for your web apps. A few minutes later the framework will be active and you'll experience the considerably quicker loading speed of your database-driven websites. As we offer different versions of PHP that can also be selected through Hepsia, you will even be able to use APC for scripts that require different versions of PHP inside the very same account. Our next generation cloud hosting platform is very adaptable, so in case you use some other web accelerator for any Internet site and it disrupts APC, you could activate or deactivate the latter for a specific site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for each and every script application which runs on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account requires a single click inside the Hepsia Control Panel, but if necessary, you can use the module just for specific websites. This is possible due to the flexibility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you will be able to choose what release will be used for this particular website and whether APC has to be enabled or disabled. Employing such a file allows you to use settings that are different from the ones for the account, so you'll be able to take advantage of APC for many scripts where the module makes a difference and not for others where you could take advantage of another type of web accelerator.