APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP Internet sites hold their content in a database that is accessed whenever a visitor loads a webpage. The content which needs to be viewed is retrieved and the code is parsed and compiled before it is delivered to the visitor. These actions take some processing time and require reading and writing on the web server for each and every page that is accessed. While this cannot be avoided for sites with regularly changing content, there're various sites that feature the exact same content on a number of of their pages all of the time - blogs, informational portals, hotel and restaurant sites, etc. APC is exceptionally useful for this type of Internet sites because it caches the already compiled code and shows it any time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this decrease the server load, but it'll also increase the speed of any Internet site many times.

APC (PHP Opcode Cache) in Web Hosting

You will be able to use APC for your web applications with all of the web hosting packages that we provide as it's pre-installed on our cloud web hosting platform. Turning it on will take just a mouse click inside the Hepsia Control Panel which is provided with our shared solutions and a couple of minutes later it'll begin caching the program code of your software applications. Our platform is extremely flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the entire account and specify the version that each site can use, or you could have the same version of PHP, but activate or deactivate APC just for specific websites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for each script application that runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes a click from the Hepsia Control Panel, but if necessary, you can use the module just for specific Internet sites. This is possible because of the flexibility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you can choose 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 your account, so you'll be able to take advantage of APC for some scripts where the module will make a difference and not for others where you could use another type of web accelerator.