APC (PHP Opcode Cache)
Discover what the phrase ‘APC’ is short for, what precisely APC can do PHP efficiency-wise and the way to activate it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites keep their content in a database which is accessed whenever a visitor loads a page. The content which should be shown is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All these actions need some processing time and include reading and writing on the hosting server for each page which is loaded. While this can't be avoided for sites with regularly changing content, there're various Internet sites which offer the very same content on many of their pages all of the time - blogs, informational portals, hotel and restaurant websites, etcetera. APC is exceptionally useful for such Internet sites as it caches the previously compiled code and displays it any time visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. Not only will this decrease the server load, but it will also increase the speed of any website several times.
-
APC (PHP Opcode Cache) in Website Hosting
APC is provided with each
website hosting solution that we offer and you can enable it with only a click through your Hepsia Control Panel if you would like to use it for your applications. A few minutes later the framework will be active and you'll be able to take advantage of the considerably quicker loading speed of your database-driven websites. Since we offer several releases of PHP which can also be selected through Hepsia, you will even be able to use APC for scripts which need different versions of PHP within the same account. Our next generation cloud hosting platform is extremely flexible, so if you use some other web accelerator for any website and it disturbs APC, you could activate or deactivate the aforementioned for a selected site only by using a php.ini file created in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with our
semi-dedicated server plans and activating the framework is performed with a click inside the Hepsia Control Panel, so even if you don't have any prior experience, you can use it to quicken your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you'll be able to employ. It will take you just a click to allow APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you'll be able to set what PHP release will be used and whether APC needs to be allowed or not. In this way, one site may use APC and PHP 5.3, for instance, and another one could use a different accelerator and PHP 5.5.