APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' signify? Just why is the existence of APC in your account important as far as your PHP-based websites are concerned? How to activate this feature?
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP Internet sites store their content in a database which is accessed whenever a visitor opens a page. The content which needs to be displayed is gathered and the code is parsed and compiled before it is delivered to the site visitor. These actions need some processing time and require reading and writing on the web server for each page that is loaded. While this can't be avoided for sites with regularly changing content material, there are various sites which present the very same content on a lot of of their pages all the time - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is very useful for this kind of Internet sites as it caches the already compiled code and displays it any time visitors browse the cached pages, so the code does not have to be parsed and compiled again. Not only will this decrease the server load, but it will also raise the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Cloud Web Hosting
You can use APC with every single
cloud web hosting plan that we offer since it's already set up on our advanced cloud platform and enabling it will take you just a couple of clicks in your Hepsia Control Panel. Since our platform is really flexible, you will be able to run Internet sites with different requirements and decide if they will use APC or not. For instance, you can enable APC only for a single version of PHP or you can do the latter for several of the releases that run on our platform. It's also possible to choose if all Internet sites using a specific PHP version will use APC or if the latter will be active just for selected websites and not for all sites in the web hosting account. The last option is useful if you want to employ a different web accelerator for some of your Internet sites. These customizations are performed without any difficulty via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all our
semi-dedicated server plans and activating the framework is done with a mouse click inside the Hepsia Control Panel, so even when you lack previous experience, you will be able to use it in order to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have flexibility with regards to the scripts and web accelerators you will be able to employ. It will take you only a click to enable APC for one or several 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 in general, you could set what PHP release will be used and whether APC has to be allowed or not. In this way, one Internet site may use APC and PHP 5.3, for instance, and another one may use a different accelerator and PHP 5.5.