APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP sites save their content in a database which is accessed whenever a visitor loads a webpage. The content which needs to be shown is retrieved and the code is parsed and compiled before it's delivered to the visitor. These actions need some processing time and include reading and writing on the web server for each and every page that is opened. While this can't be avoided for sites with regularly changing content material, there're a lot of Internet sites which feature the exact same content on a lot of of their pages all the time - blogs, info portals, hotel and restaurant sites, etcetera. APC is quite useful for this type of Internet sites since it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it will also boost the speed of any site many times.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to employ APC for your web apps with any of the cloud hosting plans that we offer because it is pre-installed on our cloud website hosting platform. Activating it will take only a mouse click in the Hepsia Control Panel that comes with our shared solutions and several minutes later it'll start caching the code of your software apps. Our platform is really flexible, so you'll be able to use several configurations determined by the system requirements of the scripts. For example, you can activate APC for a couple of versions of PHP for the entire account and specify the version that each Internet site can use, or you can have the very same version of PHP, but enable or disable APC just for specific Internet sites. You can do this by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You can use APC for each and every script application that is run on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires a click from the Hepsia Control Panel, but if needed, you could use the module only for specific sites. This is possible as a result of the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this specific website and whether APC has to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for your account, so you can take full advantage of APC for a lot of scripts where the module makes a difference and not for others where you could use a different type of web accelerator.