APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites save their content in 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 include reading and writing on the web server for every single page that is opened. While this can't be avoided for sites with regularly changing content, there are numerous sites which offer the exact same content on a lot of of their webpages all of the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is quite useful for this type of Internet sites as it caches the previously compiled code and shows it any time visitors browse the cached webpages, so the code does not have to be parsed and compiled again. This will not only greatly reduce the server load, but it will also increase the speed of any site a few times.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC for your web applications with all of the cloud website hosting packages that we provide since it's pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel that comes with our shared solutions and a few minutes later it will start caching the program code of your applications. Our platform is extremely flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and choose the version that each website will use, or you can have the same version of PHP, but enable or disable APC just for specific websites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you need the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the amazing cloud Internet hosting platform where all semi-dedicated hosting accounts are created, so you'll be able to use it whatever the plan you pick. Activating the module is performed from the Hepsia Control Panel and takes only a click, so you will not need any skills or previous experience to take advantage of it. As you will be able to use different versions of PHP at the same time, you will be able to modify the software environment for each site that you host in the account if required. A php.ini file with a few lines in it placed in a domain folder will allow you to set what version of PHP this particular site will use and if APC should be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run various scripts and employ different web accelerators for sites which are in the same account.