APC (PHP Opcode Cache)
Discover what the phrase ‘APC’ stands for, just what APC is capable of PHP performance-wise and ways to enable it for your account.
Alternative PHP Cache, or APC, is a module for Apache web servers that is employed to cache the output code of script applications. It is very effective for scripts with large source code and can accelerate such a site up to 3 times. PHP sites are dynamic and any time a user accesses a web page, the script links to a database in order to get some content, then the code is parsed and compiled prior to it being displayed to the website visitor. In case the output code does not change however, which is the case with Internet sites which show the same content all the time, such actions result in needless reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse a website, so the database does not have to be accessed and the program code does not need to be parsed and compiled again and again, that in turn decreases the Internet site loading time. The module can be extremely helpful for informational Internet sites, blogs, portfolios, etcetera.
-
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with each
shared web hosting plan that we provide because it is already set up on our advanced cloud platform and enabling it will take you only a few clicks inside your Hepsia Control Panel. As our system is extremely flexible, you'll be able to run websites with various requirements and decide if they will work with APC or not. For instance, you could allow APC only for a single release of PHP or you can do this for several of the versions running on our platform. In addition, you can decide if all websites using a particular PHP version will use APC or whether the latter will be enabled just for selected Internet sites and not for all Internet sites in the web hosting account. The last option is useful when you'd like to employ a different web accelerator for some of your websites. These customizations are done without difficulty via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the state-of-the-art cloud Internet hosting platform where all
semi-dedicated server accounts are created, so you will be able to employ it irrespective of the package you pick. Enabling the module is done through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or previous experience to be able to take advantage of it. As you will be able to work with different versions of PHP simultaneously, you could modify the software environment for every single Internet site you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will permit you to set what version of PHP this specific website will use and if APC has to be on or off for it. These settings will have priority over the ones for the account in general, so you can run various scripts and use various web accelerators for sites that are in the same account.