APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it can affect the PHP performance inside your web hosting account.
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could speed up a database-driven site several times. Each time a PHP web page is accessed, the script pulls the site content which has to be shown from a database, parses and compiles the program code, and then the result is shown to the visitor. While this is necessary for sites with frequently changing content, it's a waste of processing time and resources for an Internet site which doesn't change, such as an informational portal which displays the same content all the time. Once the webpages for such an Internet site are compiled, APC caches them and delivers them each time a visitor accesses them. Since this saves the time to collect content from the database and to parse and compile the program code, your website will load a lot quicker. APC is very helpful especially for scripts with large source code.
-
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each and every
web hosting package that we provide since it's already installed on our advanced cloud platform and activating it will take you only a couple of clicks in your Hepsia Control Panel. As our platform is extremely flexible, you'll be able to run Internet sites with various requirements and decide if they will use APC or not. For example, you could activate APC only for a single version of PHP or you can do this for several of the versions that run on our platform. It's also possible to decide if all Internet sites working with a given PHP version will use APC or whether the latter will be active only for selected sites and not for all sites in the web hosting account. The aforementioned option is useful if you'd like to employ a different web accelerator for some of your sites. These customizations are performed effortlessly through a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application that runs on your new
semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes one click inside the Hepsia Control Panel, but if necessary, you can use the module just for particular Internet sites. This is possible as a result of the flexibility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can select what version will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for your account, so you could take advantage of APC for a lot of scripts where the module can make a difference and not for others where you may employ some other kind of web accelerator.