APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP Internet sites keep their content in a database which is accessed whenever a visitor opens a webpage. The content which needs to be displayed is retrieved and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and include reading and writing on the web server for each page which is opened. While this cannot be avoided for sites with regularly changing content, there are a lot of Internet sites which 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 such Internet sites because it caches the previously compiled code and shows it when visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. Not only will this greatly reduce the server load, but it'll also boost the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Shared Hosting
You can employ APC for your web apps with all of the shared hosting packages that we provide since it's pre-installed on our cloud website hosting platform. Activating it will take only a click inside the Hepsia Control Panel that comes with our shared solutions and several minutes later it will begin caching the program code of your software applications. Our platform is quite flexible, so you'll be able to use different configurations depending on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of releases of PHP for the whole account and specify the version that each Internet site can use, or you could have the same version of PHP, but activate or deactivate APC just for particular Internet sites. This is done by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every script application that is run on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account takes a single click from the Hepsia Control Panel, but if necessary, you could use the module only for particular websites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you will be able to select what version will be used for this specific Internet site and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for the account, so you could take full advantage of APC for many scripts where the module will make a difference and not for others where you can employ a different type of web accelerator.