APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP Internet sites keep their content inside a database which is accessed whenever a visitor loads a webpage. The content which should be shown is retrieved and the code is parsed and compiled before it is delivered to the visitor. All of these actions take some processing time and involve reading and writing on the web server for each page that is accessed. While this cannot be avoided for Internet sites with regularly changing content material, there're a lot of Internet sites that offer the very same content on many of their webpages all of the time - blogs, info portals, hotel and restaurant sites, etcetera. APC is really useful for this kind of websites because it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code doesn't have to be parsed and compiled again. This will not only minimize the server load, but it will also raise the speed of any Internet site a few times.
APC (PHP Opcode Cache) in Shared Web Hosting
APC is available with every single shared web hosting plan that we offer and you can activate it with just a click from your Hepsia Control Panel if you'd like to use it for your web apps. A couple of minutes later the framework will be working and you will notice the faster loading speed of your database-driven Internet sites. As we offer several releases of PHP that could also be selected through Hepsia, you will even be able to employ APC for scripts which need different versions of PHP inside the same account. Our state-of-the-art cloud Internet hosting platform is very flexible, so in case you use some other web accelerator for any website and it disrupts APC, you'll be able to activate or deactivate the latter for a particular site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the innovative cloud Internet hosting platform where all semi-dedicated server accounts are created, so you will be able to employ it regardless of the plan you choose. Enabling the module is done through the Hepsia Control Panel and takes just a click, so you won't need any skills or previous experience to take full advantage of it. As you will be able to work with several versions of PHP at once, you will be able to modify the software environment for each website you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will permit you to set what release of PHP this website will use and whether APC needs to be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run different scripts and employ different web accelerators for sites that are in the same account.