APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP Internet sites hold their content inside a database that is accessed whenever a visitor opens a webpage. The content which should be shown is gathered and the code is parsed and compiled before it's delivered to the website visitor. These actions need some processing time and require reading and writing on the hosting server for every single page which is loaded. While this cannot be avoided for Internet sites with regularly changing content material, there're various sites which present the very same content on many of their pages all the time - blogs, informational portals, hotel and restaurant sites, and many others. APC is really useful for such sites as it caches the already compiled code and displays it each time visitors browse the cached pages, so the code does not need to be parsed and compiled again. This will not only minimize the server load, but it'll also boost the speed of any website many times.

APC (PHP Opcode Cache) in Shared Hosting

You can employ APC for your web apps with any of the shared hosting plans that we provide as it's pre-installed on our cloud website hosting platform. Activating it will take just a click in the Hepsia Control Panel that comes with our shared solutions and a couple of minutes later it'll begin caching the code of your software applications. Our platform is rather flexible, so you will be able to use several configurations in accordance with the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the whole 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 sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to use APC for every single script application that is run 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 single click inside the Hepsia Control Panel, but if necessary, you could use the module just for certain Internet sites. This is possible because of the flexibility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this specific website and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the ones for the account, so you can take full advantage of APC for many scripts where the module will make a difference and not for others where you can take advantage of some other type of web accelerator.