APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it could impact the PHP performance inside your website hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP Internet sites keep their content in a database which is accessed whenever a visitor opens a page. The content that has to be displayed is gathered and the code is parsed and compiled before it's delivered to the visitor. All of these actions take some processing time and require reading and writing on the web server for every single page which is loaded. While this can't be avoided for sites with regularly changing content, there're many websites that feature the exact same content on many of their webpages all of the time - blogs, informational portals, hotel and restaurant sites, etcetera. APC is extremely useful for this type of sites since it caches the previously compiled code and displays it every time visitors browse the cached webpages, so the code does not have to be parsed and compiled all over again. Not only will this lower the server load, but it will also boost the speed of any website many times.
-
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single
cloud website hosting package that we provide as it is already set up on our advanced cloud platform and activating it will take you just a couple of clicks inside your Hepsia Control Panel. Since our platform is extremely flexible, you will be able to run websites with various system requirements and decide if they will work with APC or not. For instance, you can activate APC only for one version of PHP or you could do the latter for several of the releases that run on our platform. It's also possible to decide if all Internet sites working with a particular PHP version will use APC or if the latter will be enabled only for selected Internet sites and not for all websites in the website hosting account. The aforementioned option is useful when you need to employ a different web accelerator for some of your websites. These customizations are done without any difficulty via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with our
semi-dedicated hosting solutions and activating this framework is performed with a click inside the Hepsia Control Panel, so even when you don't have any previous experience, you can use it to speed up your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you will have freedom with regards to the scripts and web accelerators you will be able to use. It will take you just a click to activate APC for one or a couple of PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you could set what PHP version will be used and whether APC has to be allowed or not. This way, one website could use APC and PHP 5.3, for example, while another one could use some other accelerator and PHP 5.5.