APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP websites store their content inside a database which is accessed whenever a visitor opens a webpage. The content that should be viewed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. These actions need some processing time and involve reading and writing on the server for each page which is loaded. While this cannot be avoided for sites with regularly changing content, there're a lot of sites which feature the exact same content on a number of of their pages all the time - blogs, informational portals, hotel and restaurant Internet sites, and many others. APC is exceptionally useful for this kind of sites because it caches the already compiled code and displays it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. This will not only greatly reduce the server load, but it will also raise the speed of any Internet site many 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 since it's pre-installed on our cloud website hosting platform. Activating it will take only a click in the Hepsia Control Panel that is provided with our shared solutions and several minutes later it'll start caching the program code of your software apps. Our platform is quite flexible, so you'll be able to use different configurations based on the system requirements of the scripts. For example, you will be able to activate APC for a couple of versions of PHP for the entire account and choose the version that each website will use, or you can have the very same version of PHP, but enable or disable APC just for particular Internet sites. This is done by putting a php.ini file with a line of code within the domain or subdomain folder where you need the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every script application that runs on your new semi-dedicated server
since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account requires one click inside the Hepsia Control Panel, but if needed, you could use the module just for certain websites. This is possible on account of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to pick what release will be used for this particular website and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the ones for your account, so you could take advantage of APC for some scripts where the module can make a difference and not for others where you can employ some other kind of web accelerator.