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 website several times. Each time a PHP page is opened, the script pulls the website content which should be shown from a database, parses and compiles the program code, and the result is displayed to the site visitor. While this is necessary for websites with frequently changing content, it's a total waste of processing time and resources for a website which does not change, such as an informational portal which shows the very same content all the time. Once the pages for such an Internet site are compiled, APC caches them and delivers them every time a visitor opens them. Since this saves the time to collect content from the database and to parse and compile the program code, the website will load significantly quicker. APC is really useful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is available with every single cloud web hosting solution that we offer and you can activate it with only a click from your Hepsia Control Panel if you wish to use it for your web apps. Several minutes later the framework will be working and you will be able to take advantage of the considerably faster loading speed of your database-driven sites. As we offer different releases of PHP that can also be selected through Hepsia, you'll even be able to to employ APC for scripts which require different versions of PHP inside the same account. Our state-of-the-art cloud Internet hosting platform is extremely flexible, so if you use an alternative web accelerator for any Internet site and it disrupts APC, you'll be able to activate or deactivate the latter for a selected 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 every script application which runs on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account takes a single click from the Hepsia Control Panel, but if necessary, you could use the module only for particular websites. This is possible because of the versatility of our cloud platform - multiple versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you will be able to pick what version will be used for this particular site and whether APC should be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for your account, so you could take full advantage of APC for many scripts where the module makes a difference and not for others where you could take advantage of a different type of web accelerator.