APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it could affect the PHP performance within your hosting account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could boost a database-driven website several times. Every time a PHP web page is accessed, the script pulls the content that needs to be displayed from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for Internet sites with constantly changing content, it is a waste of processing time and system resources for a site that does not change, like an informational portal that displays the same content at all times. Once the webpages for such an Internet site are compiled, APC caches them and delivers them any time a user accesses them. As this saves the time to obtain content from the database and to parse and compile the code, your Internet site will load a lot faster. APC is very efficient especially for scripts with massive source code.
-
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with every single
cloud hosting package that we offer and you could activate it with just a click from your Hepsia Control Panel if you would like to use it for your web apps. A couple of minutes later the framework will be working and you'll notice the quicker loading speed of your database-driven Internet sites. As we provide several versions of PHP that can also be selected from Hepsia, you'll even be able to to employ APC for scripts that need different versions of PHP inside the very same account. Our advanced cloud hosting platform is very flexible, so if you use some other web accelerator for any website and it disrupts APC, you could activate or deactivate the latter for a selected site only by using a php.ini file generated in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application that is run on your new
semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account takes one click inside the Hepsia Control Panel, but if needed, you could use the module only for certain sites. This is possible as a result of the versatility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to select what version will be used for this particular Internet site and whether APC should be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for your account, so you could take advantage of APC for many scripts where the module can make a difference and not for others where you can use some other kind of web accelerator.