APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP Internet sites store their content inside a database that is accessed whenever a visitor opens a page. The content which needs to be shown is retrieved and the code is parsed and compiled before it's delivered to the website visitor. All of these actions take some processing time and require reading and writing on the server for each and every page which is opened. While this cannot be avoided for Internet sites with regularly changing content, there are numerous websites which offer the same content on many of their pages all of the time - blogs, info portals, hotel and restaurant sites, etc. APC is quite useful for such Internet sites as it caches the already compiled code and shows it whenever visitors browse the cached webpages, so the code doesn't have to be parsed and compiled all over again. This will not only lower the server load, but it'll also increase the speed of any Internet site a few times.

APC (PHP Opcode Cache) in Shared Website Hosting

You can employ APC for your web applications with any of the shared website hosting packages that we provide as it is pre-installed on our cloud web hosting platform. Turning it on will take just a mouse click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will start caching the code of your software apps. Our platform is quite flexible, so you will be able to use different configurations in accordance with the system requirements of your scripts. For instance, you could activate APC for several versions of PHP for the entire account and specify the version that each Internet site can use, or you could have the very same version of PHP, but enable or disable APC just for specific websites. You can do this by placing a php.ini file with a line of program code in the domain or subdomain folder where you need the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for every script application which runs on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires one click in the Hepsia Control Panel, but if needed, you could use the module only for particular websites. This is possible on account of the versatility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can choose what version 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 will be able to take advantage of APC for some scripts where the module will make a difference and not for others where you could use a different type of web accelerator.