APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it can affect the PHP performance within your web hosting account.
Alternative PHP Cache, or APC, is a module for Apache servers that is employed to cache the output code of script apps. It is very efficient for scripts with large source code and can accelerate such an Internet site as much as three times. PHP websites are dynamic and every time a user accesses a webpage, the script connects to a database to retrieve some content, after that the code is parsed and compiled prior to it being shown to the visitor. In case the output code doesn't change however, which is the case with sites which display identical content all the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled program code and delivers it every time visitors browse a site, so the database does not have to be accessed and the program code doesn't need to be parsed and compiled repeatedly, that in turn minimizes the website loading time. The module could be extremely useful for informational websites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single cloud website hosting
plan that we offer as it's already set up on our advanced cloud platform and enabling it will take you only a couple of clicks in your Hepsia Control Panel. Since our platform is extremely flexible, you'll be able to run Internet sites with different system requirements and decide whether they will use APC or not. For instance, you could activate APC only for a single release of PHP or you can do this for several of the releases running on our platform. In addition, you can decide if all websites working with a certain PHP version will use APC or whether the latter will be enabled only for selected websites and not for all sites in the web hosting account. The aforementioned option is useful when you wish to employ a different web accelerator for several of your websites. These customizations are done without difficulty through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the innovative cloud hosting platform where all semi-dedicated hosting
accounts are made, so you could employ it irrespective of the package you choose. 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 be able to take full advantage of it. Since you'll be able to work with different versions of PHP at the same time, you'll be able to customize the software environment for every single Internet 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 Internet site will use and if APC needs to be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run various scripts and take advantage of different web accelerators for Internet sites that are in the same account.