APC (PHP Opcode Cache)
Uncover what the acronym ‘APC’ represents, exactly what APC is capable of doing PHP efficiency-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 applications. Dynamic PHP websites store their content in a database which is accessed whenever a visitor opens a webpage. The content which should be shown is gathered and the code is parsed and compiled before it is delivered to the visitor. These actions take some processing time and include reading and writing on the web server for each page that is loaded. While this can't be avoided for Internet sites with regularly changing content material, there are many websites that present the same content on a number of of their pages at all times - blogs, informational portals, hotel and restaurant Internet sites, etcetera. APC is quite useful for this kind of websites since 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 all over again. Not only will this lower the server load, but it will also boost the speed of any site several times.
APC (PHP Opcode Cache) in Website Hosting
APC is provided with every single website hosting
package that we offer and you could enable it with only a click through your Hepsia Control Panel if you want to use it for your web applications. A couple of minutes later the framework will be working and you'll notice the faster loading speed of your database-driven Internet sites. As we provide different releases of PHP which could also be selected through Hepsia, you will even be able to use APC for scripts which require different versions of PHP inside the very same account. Our next generation cloud Internet hosting platform is extremely flexible, so in case you use some other web accelerator for any Internet site and it disturbs APC, you could activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for each script application which runs on your new semi-dedicated hosting
because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account takes a click from the Hepsia Control Panel, but if necessary, you can use the module only for specific Internet sites. This is possible due to the flexibility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this specific website and whether APC needs to be enabled or disabled. Using such a file allows you to use settings which are different from the standard ones for the account, so you'll be able to take advantage of APC for a lot of scripts where the module will make a difference and not for others where you could take advantage of another kind of web accelerator.