APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven website several times. Each time a PHP webpage is accessed, the script pulls the content that needs to be shown from a database, parses and compiles the program code, and the result is displayed to the visitor. While this is necessary for websites with constantly changing content, it's a complete waste of processing time and system resources for a website which does not change, for instance an informational portal that displays identical content on a regular basis. As soon as the web pages for such a site are compiled, APC caches them and delivers them whenever a visitor opens them. As this saves the time to request content from the database and to parse and compile the program code, the Internet site will load a lot quicker. APC is really helpful particularly for scripts with large source code.
APC (PHP Opcode Cache) in Website Hosting
You can use APC with each website hosting
plan that we provide because it's already installed on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. Since our system is quite flexible, you can run Internet sites with different system requirements and decide if they will use APC or not. For example, you could allow APC only for one version of PHP or you could do this for several of the releases running on the platform. You may also choose if all Internet sites working with a given PHP version will use APC or if the latter will be enabled only for selected sites and not for all Internet sites in the website hosting account. The last option is useful when you wish to employ a different web accelerator for several of your websites. These customizations are done effortlessly through 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 hosting platform where all semi-dedicated server
accounts are made, so you could use it whatever the package you get. Activating the module is done from the Hepsia Control Panel and takes only a click, so you won't need any skills or earlier experience to take advantage of it. As you will be able to work with different versions of PHP at once, you will be able to customize the software environment for every single Internet site that you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will enable you to set what version of PHP this particular site will use and whether 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 could run different scripts and use different web accelerators for websites that are in the same account.