APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP Internet sites keep their content within a database which is accessed whenever a visitor opens a webpage. The content that should be viewed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. All of these actions need some processing time and require reading and writing on the server for every single page which is accessed. While this can't be avoided for websites with constantly changing content, there are many Internet sites that present the same content on many of their webpages all of the time - blogs, informational portals, hotel and restaurant sites, etc. APC is extremely useful for such websites because it caches the previously compiled code and shows it when visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. Not only will this reduce the server load, but it will also boost the speed of any site many times.

APC (PHP Opcode Cache) in Shared Hosting

You'll be able to employ APC for your web applications with any of the shared hosting packages that we offer 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 plans and a couple of minutes later it'll start caching the code of your software applications. Our platform is really flexible, so you will be able to use different configurations based on the system requirements of your scripts. For example, you can activate APC for several versions of PHP for the whole account and select the version that each Internet site will use, or you could have the exact same version of PHP, but enable or disable APC just for specified sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is installed on the state-of-the-art cloud Internet hosting platform where all semi-dedicated hosting accounts are created, so you could use it regardless of the package you pick. Enabling the module is performed through the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or prior experience to take advantage of it. Since you'll be able to use different releases of PHP simultaneously, you will be able to modify the software environment for every single site that you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will enable you to set what version of PHP this site will use and if APC has to be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and employ different web accelerators for sites that are in the same account.