APC (PHP Opcode Cache)
See what APC (PHP Opcode Cache) is and how it could influence the PHP performance in your web hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites store their content inside a database that is accessed whenever a visitor loads a page. The content that has to be viewed is gathered and the code is parsed and compiled before it is delivered to the visitor. All of these actions take some processing time and include reading and writing on the hosting server for every single page that is loaded. While this cannot be avoided for sites with regularly changing content, there are various Internet sites that feature the same content on a number of of their pages at all times - blogs, informational portals, hotel and restaurant websites, and many others. APC is quite useful for this kind of Internet sites since it caches the previously compiled code and shows it any time visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. This will not only minimize the server load, but it'll also raise the speed of any site many times.
-
APC (PHP Opcode Cache) in Hosting
APC is available with each and every
hosting plan that we offer and you can activate it with only a click through your Hepsia Control Panel if you wish to use it for your applications. A few minutes later the framework will be working and you will be able to take advantage of the considerably faster loading speed of your database-driven sites. Since we offer different versions of PHP that could also be selected through Hepsia, you will even be able to use APC for scripts which need different versions of PHP in the very same account. Our state-of-the-art cloud hosting platform is very adaptable, so in case you use a different web accelerator for any website and it interferes with APC, you'll 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 Servers
APC is set up on the amazing cloud hosting platform where all
semi-dedicated server accounts are created, so you will be able to use it irrespective of the package you pick. Activating the module is performed through the Hepsia Control Panel and takes just a click, so you will not need any skills or earlier experience to be able to take advantage of it. As you will be able to work with different versions of PHP concurrently, you could modify the software environment for every single site that you host in the account if required. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what release of PHP this specific site will use and whether APC should 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 use various web accelerators for sites that are in the same account.