APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software apps. Dynamic PHP websites save their content inside a database that is accessed whenever a visitor opens a webpage. The content that needs to be shown is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All these actions need some processing time and include reading and writing on the web server for each page that is accessed. While this can't be avoided for Internet sites with regularly changing content material, there are various Internet sites that have the very same content on a number of of their pages at all times - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is very useful for this type of sites since it caches the previously compiled code and shows it each time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled repeatedly. Not only will this reduce the server load, but it'll also raise the speed of any site a few times.

APC (PHP Opcode Cache) in Web Hosting

You can employ APC for your web apps with any of the web hosting plans that we provide since it's pre-installed on our cloud website hosting platform. Turning it on will take just a single click inside the Hepsia Control Panel that comes with our shared plans and a couple of minutes later it will start caching the code of your apps. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of your scripts. For example, you can activate APC for several versions of PHP for the whole account and choose the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for particular Internet sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is set up on the state-of-the-art cloud hosting platform where all semi-dedicated hosting accounts are created, so you'll be able to employ it whatever the plan you select. Activating the module is done through the Hepsia Control Panel and takes only a click, so you won't need any skills or previous experience to take advantage of it. As you will be able to work with different releases of PHP concurrently, you will be able to customize the software environment for each site which you host in the account if required. A php.ini file with several lines in it placed in a domain folder will enable you to set what version of PHP this particular Internet site will use and whether APC needs to be on or off for it. These settings will have priority over those for the account as a whole, so you can run different scripts and employ different web accelerators for Internet sites that are in the same account.