APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP sites store their content inside a database which is accessed whenever a visitor opens a page. The content that needs to be viewed is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. All of these actions take some processing time and require reading and writing on the web server for every single page that is opened. While this cannot be avoided for sites with constantly changing content, there are many websites which feature the exact same content on many of their pages all the time - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is really useful for this kind of websites because it caches the already compiled code and shows it when visitors browse the cached pages, so the code doesn't have to be parsed and compiled all over again. This will not only minimize the server load, but it will also increase the speed of any Internet site several times.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC for your web apps with any of the shared hosting plans that we provide because it is pre-installed on our cloud website hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it'll start caching the code of your apps. Our platform is rather flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For example, you can activate APC for several releases of PHP for the entire account and set the version that each Internet site can use, or you could have the exact same version of PHP, but enable or disable APC just for particular websites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for every single script application that runs on your new semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes one click from the Hepsia Control Panel, but if necessary, you could use the module just for specific sites. This is possible as a result of the versatility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you will be able to choose what version will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for your account, so you'll be able to take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you can employ some other type of web accelerator.