APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP websites save their content in a database which is accessed whenever a visitor loads a page. The content which needs to be viewed is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All these actions take some processing time and include reading and writing on the web server for every single page that is opened. While this cannot be avoided for Internet sites with regularly changing content material, there are numerous websites which have the exact same content on many of their pages all of the time - blogs, informational portals, hotel and restaurant websites, etc. APC is really useful for this type of websites because it caches the previously compiled code and displays it whenever visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it'll also raise the speed of any site a few times.
APC (PHP Opcode Cache) in Shared Web Hosting
APC is provided with every single shared web hosting plan that we offer and you could activate it with only a click through your Hepsia Control Panel if you wish to use it for your applications. Several minutes later the framework will be active and you'll experience the quicker loading speed of your database-driven sites. Since we offer several versions of PHP which could also be selected from Hepsia, you will even be able to use APC for scripts which need different versions of PHP in the very same account. Our leading-edge cloud Internet hosting platform is very flexible, so if you use another web accelerator for any Internet site and it disturbs APC, you will be able to activate or deactivate the aforementioned for a particular site only by using a php.ini file created 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 is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes one click from the Hepsia Control Panel, but if necessary, you could use the module just for particular sites. This is possible on account of the flexibility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this specific 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 could take advantage of APC for many scripts where the module will make a difference and not for others where you can use some other kind of web accelerator.