APC (PHP Opcode Cache)
See what APC (PHP Opcode Cache) is and how it can impact the PHP performance within your web hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP Internet sites save their content in a database which is accessed whenever a visitor opens a page. The content that should be viewed is gathered and the code is parsed and compiled before it is delivered to the website visitor. All these actions need some processing time and involve reading and writing on the hosting server for every single page which is opened. While this can't be avoided for websites with regularly changing content material, there're a lot of Internet sites which present the exact same content on many of their webpages at all times - blogs, info portals, hotel and restaurant websites, and many others. APC is really useful for such sites since it caches the already compiled code and displays it any time visitors browse the cached pages, so the code doesn't need to be parsed and compiled again. This will not only minimize the server load, but it will also increase the speed of any site a few times.
APC (PHP Opcode Cache) in Cloud Hosting
You can use APC with each and every cloud hosting
package that we provide since it is already set up on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. Since our system is quite flexible, you will be able to run websites with different system requirements and decide whether they will work with APC or not. For example, you could activate APC only for a single version of PHP or you could do this for several of the versions that run on the platform. You can also choose if all Internet sites working with a specific PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all websites in the web hosting account. The last option is useful if you intend to employ a different web accelerator for some of your sites. These customizations are carried out without difficulty via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for every single script application that runs on your new semi-dedicated hosting
since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires a single click from the Hepsia Control Panel, but if needed, you can use the module just for particular sites. This is possible as a result of the versatility of our cloud platform - different versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to pick what version will be used for this specific Internet site and whether APC should be enabled or disabled. Using such a file allows you to use settings which are different from the ones for your account, so you can take full advantage of APC for some scripts where the module can make a difference and not for others where you may use some other type of web accelerator.