APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP websites save their content in a database which is accessed whenever a visitor loads a page. The content that should be displayed is retrieved and the code is parsed and compiled before it's delivered to the website visitor. All of these actions need some processing time and involve reading and writing on the hosting server for every single page that is opened. While this cannot be avoided for sites with regularly changing content material, there're a lot of sites that feature the same content on a lot of of their webpages constantly - blogs, info portals, hotel and restaurant sites, etc. APC is quite useful for this kind of sites as it caches the previously compiled code and displays it when visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. Not only will this decrease the server load, but it'll also increase the speed of any site several times.

APC (PHP Opcode Cache) in Cloud Hosting

You'll be able to use APC for your web applications with all of the cloud hosting packages that we offer as it is pre-installed on our cloud website hosting platform. Enabling it will take just a single click in the Hepsia Control Panel that is provided with our shared plans and a few minutes later it will begin caching the code of your software apps. Our platform is very flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you will be able to activate APC for several versions of PHP for the entire account and select the version that each Internet site will use, or you could have the very same version of PHP, but activate or deactivate APC only for specified websites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is set up on the amazing cloud web hosting platform where all semi-dedicated server accounts are created, so you could use it regardless of the plan you get. Activating the module is performed from the Hepsia Control Panel and takes just a click, so you won't need any skills or previous experience to take advantage of it. As you'll be able to work with different versions of PHP at the same time, you'll be able to modify the software environment for each and every site that you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what version of PHP this particular site will use and if APC should be on or off for it. These settings will have priority over those for the account as a whole, so you can run different scripts and take advantage of different web accelerators for websites which are in the same account.