APC (PHP Opcode Cache)
See what APC (PHP Opcode Cache) is and how it can impact the PHP performance inside your hosting account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP sites keep their content in a database that is accessed whenever a visitor opens a webpage. The content which has to be shown is retrieved and the code is parsed and compiled before it is delivered to the visitor. These actions take some processing time and require reading and writing on the hosting server for every single page that is accessed. While this can't be avoided for websites with constantly changing content, there're many websites that offer the very same content on a number of of their pages constantly - blogs, informational portals, hotel and restaurant sites, etcetera. APC is exceptionally useful for such Internet sites since it caches the already compiled code and shows it every time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. This will not only reduce the server load, but it will also raise the speed of any website several times.
APC (PHP Opcode Cache) in Cloud Website Hosting
APC is provided with each cloud website hosting
plan that we offer and you can enable it with just a click from your Hepsia Control Panel if you wish to use it for your web apps. A few minutes later the framework will be working and you'll notice the faster loading speed of your database-driven Internet sites. Since we offer different releases of PHP that could also be selected from Hepsia, you will even be able to use APC for scripts that require different versions of PHP inside the very same account. Our cutting-edge cloud hosting platform is extremely flexible, so in case you use an alternative web accelerator for any Internet site and it interferes with APC, you could activate or deactivate the aforementioned 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
You’ll be able to use APC for every script application that runs on your new semi-dedicated hosting
because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a click from the Hepsia Control Panel, but if needed, you can use the module only for particular websites. This is possible because of the versatility of our cloud platform - different releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you'll be able to choose what version will be used for this specific site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings that are different from the standard ones for the account, so you'll be able to take advantage of APC for many scripts where the module will make a difference and not for others where you can employ another type of web accelerator.