APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP sites store their content inside a database that is accessed whenever a visitor loads a page. The content which should be shown is retrieved and the code is parsed and compiled before it is delivered to the site visitor. These actions need some processing time and include reading and writing on the web server for every single page that is loaded. While this cannot be avoided for websites with constantly changing content material, there're many sites which offer the same content on a number of of their webpages constantly - blogs, informational portals, hotel and restaurant Internet sites, and many others. APC is very useful for such websites since it caches the previously compiled code and shows it each time visitors browse the cached webpages, so the code does not need to be parsed and compiled repeatedly. This will not only minimize the server load, but it'll also raise the speed of any Internet site many times.
APC (PHP Opcode Cache) in Website Hosting
APC is pre-installed on our leading-edge cloud platform, so you'll be able to use it for your web applications whatever the website hosting package that you select when you sign up. The module can be enabled from the Hepsia web hosting Control Panel that is used to manage the shared accounts and only a few minutes later it'll speed up your websites since it'll begin caching their code. If you want to run Internet sites with various system requirements or use specific web accelerators for some of them, you can customize the software environment by putting a php.ini file in the preferred domain folder. Thus, you could enable or disable APC not just for a particular website without affecting the other Internet sites in the account, but also for a certain version of PHP because our platform supports multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for each and every script application which is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a click inside the Hepsia Control Panel, but if needed, you can use the module only for particular sites. This is possible on account of the flexibility of our cloud platform - several releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can select what release will be used for this particular site and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you will be able to take advantage of APC for some scripts where the module will make a difference and not for others where you can employ some other type of web accelerator.