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 loads a page. The content that needs to be displayed is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All of these actions need some processing time and include reading and writing on the server for each page that is opened. While this can't be avoided for sites with constantly changing content, there are various websites which have the same content on many of their pages all of the time - blogs, info portals, hotel and restaurant websites, etcetera. APC is really useful for this type of sites because it caches the previously compiled code and shows it each time visitors browse the cached pages, so the code does not have to be parsed and compiled repeatedly. This will not only decrease the server load, but it will also boost the speed of any site a few times.

APC (PHP Opcode Cache) in Cloud Web Hosting

APC is provided with every single cloud web hosting package that we offer and you could activate it with just a click from your Hepsia Control Panel if you wish to use it for your applications. Several minutes later the framework will be working and you will notice the considerably faster loading speed of your database-driven sites. Since we offer different releases of PHP that can also be selected from Hepsia, you will even be able to use APC for scripts that need different versions of PHP within the same account. Our next generation cloud web hosting platform is extremely adaptable, so in case you use a different web accelerator for any Internet site and it disturbs APC, you will be able to activate or deactivate the aforementioned for a particular site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to 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 a single click inside the Hepsia Control Panel, but if needed, you could use the module only for certain Internet sites. This is possible as a result of the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to pick what version will be used for this specific site and whether APC has to be enabled or disabled. Employing such a file enables you to use settings that are different from the standard ones for your account, so you can take full advantage of APC for some scripts where the module makes a difference and not for others where you may take advantage of some other kind of web accelerator.