APC (PHP Opcode Cache)
See what APC (PHP Opcode Cache) is and how it can impact the PHP performance inside your hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites save their content within a database that is accessed whenever a visitor opens a page. The content that needs to be viewed is gathered and the code is parsed and compiled before it's delivered to the visitor. These actions need some processing time and include reading and writing on the server for each page that is loaded. While this can't be avoided for sites with regularly changing content material, there are a lot of websites which feature the same content on a number of of their pages at all times - blogs, informational portals, hotel and restaurant sites, etcetera. APC is exceptionally useful for this type of sites because it caches the already compiled code and displays it whenever visitors browse the cached webpages, so the code doesn't need to be parsed and compiled all over again. Not only will this greatly reduce the server load, but it'll also increase the speed of any site a few times.
-
APC (PHP Opcode Cache) in Cloud Hosting
APC is available with each and every
cloud hosting package that we offer and you can enable it with just a click through your Hepsia Control Panel if you want to use it for your web apps. A few minutes later the framework will be working and you will experience the faster loading speed of your database-driven Internet sites. Since we offer different releases of PHP that could also be selected from Hepsia, you will even be able to employ APC for scripts that need different versions of PHP within the same account. Our state-of-the-art cloud hosting platform is extremely flexible, so in case you use some other web accelerator for any Internet site and it disrupts APC, you will be able to activate or deactivate the aforementioned for a certain 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 take full advantage of APC with our
semi-dedicated server plans and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you can use it to speed up your websites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you will have freedom regarding the scripts and web accelerators you could employ. It will take you just a click to allow APC for one or several PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings that are different from the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC needs to be allowed or not. In this way, one website can use APC and PHP 5.3, for instance, whereas another one may use some different accelerator and PHP 5.5.