APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP websites save their content inside a database that is accessed whenever a visitor loads a webpage. The content that has to be shown is retrieved and the code is parsed and compiled before it's delivered to the website visitor. All of these actions need some processing time and require reading and writing on the web server for each and every page which is opened. While this can't be avoided for sites with constantly changing content, there're various websites that present the same content on a number of of their webpages at all times - blogs, informational portals, hotel and restaurant websites, etcetera. APC is extremely useful for such websites as it caches the previously compiled code and displays it every time visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this decrease the server load, but it'll also boost the speed of any website several times.

APC (PHP Opcode Cache) in Shared Hosting

You will be able to employ APC for your web applications with all of the shared hosting packages that we provide because it is pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click inside the Hepsia Control Panel that is provided with our shared plans and a few minutes later it will start caching the program code of your software applications. Our platform is very flexible, so you will be able to use several configurations determined by the system requirements of the scripts. For instance, you could activate APC for a couple of versions of PHP for the entire account and pick the version that each website will use, or you could have the very same version of PHP, but activate or deactivate APC just for specified sites. This is done by putting a php.ini file with a line of 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 each script application which is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a single click from the Hepsia Control Panel, but if necessary, you can use the module just for specific sites. This is possible on account of the flexibility of our cloud platform - several versions 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 pick what release will be used for this particular website and whether APC should be enabled or disabled. Using such a file enables you to use settings which are different from the standard ones for the account, so you will be able to take full advantage of APC for a lot of scripts where the module makes a difference and not for others where you can use a different type of web accelerator.