APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it can affect the PHP performance inside your website hosting account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven Internet site several times. Every time a PHP webpage is accessed, the script pulls the site content which has to be shown from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for websites with frequently changing content, it is a complete waste of processing time and system resources for a site which doesn't change, for example an informational portal which shows the very same content on a regular basis. When the web pages for such a website are compiled, APC caches them and delivers them any time a visitor loads them. As this saves the time to collect content from the database and to parse and compile the code, the Internet site will load considerably quicker. APC is very helpful especially for scripts with larger source code.
-
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to employ APC for your web applications with any of the
cloud hosting packages that we provide as it is pre-installed on our cloud web hosting platform. Turning it on will take only a click inside the Hepsia Control Panel which is provided with our shared solutions and a few minutes later it will begin caching the program code of your software apps. Our platform is really flexible, so you'll be able to use several configurations depending on the system requirements of the scripts. For example, you'll be able to activate APC for several versions of PHP for the whole account and pick the version that each website can use, or you can have the very same version of PHP, but activate or deactivate APC just for specified sites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the customized configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every script application that runs on your new
semi-dedicated server since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the entire account requires one click in the Hepsia Control Panel, but if necessary, you can use the module just for specific sites. This is possible as a result of the flexibility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to choose what version will be used for this specific site and whether APC has 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 some scripts where the module will make a difference and not for others where you may take advantage of another kind of web accelerator.