APC (PHP Opcode Cache)
Uncover what the abbreviation ‘APC’ is short for, everything that APC is capable of doing PHP performance-wise and how to enable it for your 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 hold their content within a database which is accessed whenever a visitor loads a page. The content that should be viewed is retrieved and the code is parsed and compiled before it's delivered to the visitor. These actions need some processing time and involve reading and writing on the web server for every single page which is accessed. While this cannot be avoided for Internet sites with regularly changing content, there're many sites which present the exact same content on a lot of of their webpages all the time - blogs, informational portals, hotel and restaurant websites, etc. APC is very useful for this type of Internet sites since it caches the already compiled code and displays it every time visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. Not only will this minimize the server load, but it will also increase the speed of any site several times.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with each and every shared website hosting
plan that we provide because it's already set up on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. Since our system is really flexible, you will be able to run websites with various system requirements and decide whether they will use APC or not. For example, you could enable APC only for a single version of PHP or you can do this for several of the releases running on the platform. You may also choose if all websites using a specific PHP version will use APC or whether the latter will be active just for selected websites and not for all sites in the hosting account. The aforementioned option is useful if you intend to employ a different web accelerator for some of your websites. These customizations are performed with ease via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is set up on the state-of-the-art cloud web hosting platform where all semi-dedicated server
accounts are made, so you could employ it irrespective of the package you select. Enabling the module is done through the Hepsia Control Panel and takes just a click, so you won't need any skills or earlier experience in order to take advantage of it. Since you'll be able to use different releases of PHP at the same time, you will be able to modify the software environment for each Internet site you host in the account if needed. A php.ini file with a few lines in it placed in a domain folder will enable you to set what version of PHP this particular site will use and if APC has to be on or off for it. These settings will have priority over those for the account in general, so you could run different scripts and use different web accelerators for websites which are in the same account.