APC (PHP Opcode Cache)
What exactly does the acronym 'APC' imply? Just why is the existence of APC inside your account important as far as your PHP-based Internet sites are concerned? How can you enable this feature?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP Internet sites save their content inside 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 prior to it being delivered to the website visitor. All these actions need some processing time and involve reading and writing on the web server for each and every page which is opened. While this cannot be avoided for websites with constantly changing content, there are a lot of Internet sites which feature the same content on a lot of of their webpages all of the time - blogs, info portals, hotel and restaurant sites, etc. APC is really useful for this kind of Internet sites because it caches the previously compiled code and shows it when visitors browse the cached webpages, so the code does not need to be parsed and compiled all over again. Not only will this decrease the server load, but it'll also raise the speed of any website a few times.
-
APC (PHP Opcode Cache) in Shared Web Hosting
APC is pre-installed on our outstanding cloud platform, therefore you can use it for your web applications regardless of the
shared web hosting package that you pick when you join us. The module can be enabled through the Hepsia hosting Control Panel that is used to handle the shared accounts and only several minutes later it will boost your sites as it'll start caching their program code. In case you would like to run sites with various system requirements or employ specific web accelerators for any of them, you'll be able to customize the software environment by putting a php.ini file in the preferred domain folder. Thus, you can enable or disable APC not only for a specific website without affecting the other sites in the account, but also for a particular version of PHP as our platform supports multiple versions simultaneously.
-
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 in the Hepsia Control Panel, so even when you have no previous experience, you could use it to speed up your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you'll have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you just a click to allow APC for one or several PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC should be allowed or not. This way, one Internet site may use APC and PHP 5.3, for instance, while another one could use another accelerator and PHP 5.5.