APC (PHP Opcode Cache)
Discover what the acronym ‘APC’ stands for, precisely what APC can do PHP performance-wise and the way to activate 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 store their content within a database that is accessed whenever a visitor opens a page. The content that should be shown is retrieved and the code is parsed and compiled prior to it being delivered to the visitor. All these actions need some processing time and involve reading and writing on the hosting server for each page that is loaded. While this cannot be avoided for sites with constantly changing content material, there are many Internet sites which present the same content on many of their pages all the time - blogs, informational portals, hotel and restaurant sites, etc. APC is exceptionally useful for this type of websites since 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 again. This will not only decrease the server load, but it'll also increase the speed of any Internet site many times.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with each and every
shared hosting solution that we offer and you could enable it with just a click through your Hepsia Control Panel if you would like to use it for your web apps. A few minutes later the framework will be working and you'll be able to take advantage of the faster loading speed of your database-driven websites. As we offer different releases of PHP that can also be selected through Hepsia, you will even be able to employ APC for scripts which require different versions of PHP inside the very same account. Our advanced cloud Internet hosting platform is very adaptable, so in case you use another web accelerator for any Internet site and it disrupts APC, you will be able to activate or deactivate the latter for a specific site only by using a php.ini file generated in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is set up on the state-of-the-art cloud Internet hosting platform where all
semi-dedicated hosting accounts are made, so you could use it regardless of the plan you choose. Activating the module is performed through the Hepsia Control Panel and takes just a click, so you won't need any skills or prior experience in order to take advantage of it. Since you'll be able to work with different releases of PHP at the same time, you could modify the software environment for every single website you host in the account if needed. A php.ini file with several lines in it placed in a domain folder will permit you to set what release of PHP this particular site will use and if APC needs to be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and employ different web accelerators for sites that are in the same account.