APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP websites hold their content in a database that is accessed whenever a visitor loads a webpage. The content which has to be shown is gathered and the code is parsed and compiled before it is delivered to the visitor. All of these actions need some processing time and involve reading and writing on the web server for every single page which is opened. While this cannot be avoided for sites with constantly changing content, there're various websites that have the exact same content on a number of of their webpages all of the time - blogs, informational portals, hotel and restaurant websites, etc. APC is extremely useful for this type of Internet sites since it caches the previously compiled code and displays it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled repeatedly. Not only will this decrease the server load, but it will also boost the speed of any Internet site many times.

APC (PHP Opcode Cache) in Cloud Hosting

You can use APC with every single cloud hosting plan that we provide since it is already set up on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. Since our platform is quite flexible, you'll be able to run websites with various requirements and decide if they will work with APC or not. For instance, you can enable APC only for a single version of PHP or you can do this for several of the versions that run on the platform. You may also select if all Internet sites working with a certain PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all sites in the web hosting account. The aforementioned option is useful if you want to employ a different web accelerator for some of your Internet sites. These customizations are done without difficulty by using a php.ini file in selected domain or subdomain folders.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the amazing cloud Internet hosting platform where all semi-dedicated server accounts are made, so you'll be able to employ it whatever the plan you select. Enabling the module is done through the Hepsia Control Panel and takes only a mouse click, so you will not need any skills or previous experience to be able to take full advantage of it. As you will be able to employ different versions of PHP concurrently, you could customize the software environment for each Internet site that you host in the account if required. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what release of PHP this 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 in general, so you can run different scripts and take advantage of different web accelerators for websites which are in the same account.