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 inside a database which is accessed whenever a visitor opens a page. The content that needs to be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All these actions need some processing time and involve reading and writing on the web server for every single page which is opened. While this cannot be avoided for websites with regularly changing content material, there are a lot of sites that have the very same content on a lot of of their pages all of the time - blogs, informational portals, hotel and restaurant websites, and many others. APC is very useful for this type of websites since it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. This will not only lower the server load, but it will also increase the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Hosting
You can use APC for your web applications with any of the hosting plans that we offer because it is pre-installed on our cloud website hosting platform. Activating it will take only a click in the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it will begin caching the program code of your apps. Our platform is very flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For instance, you'll be able to activate APC for several releases of PHP for the entire account and specify the version that each Internet site can use, or you can have the exact same version of PHP, but activate or deactivate APC just for particular Internet sites. You can do this by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the state-of-the-art cloud hosting platform where all semi-dedicated server accounts are made, so you could use it irrespective of the plan you get. Activating the module is done from the Hepsia Control Panel and takes only a mouse click, so you will not need any skills or prior experience to take full advantage of it. As you'll be able to employ several versions of PHP concurrently, you'll be able to modify the software environment for each site that you host in the account if required. A php.ini file with a couple of lines in it placed in a domain folder will enable you to set what version of PHP this Internet site will use and if APC has to be on or off for it. These settings will have priority over those for the account in general, so you can run various scripts and employ various web accelerators for sites which are in the same account.