APC (PHP Opcode Cache)
Discover 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 software apps. Dynamic PHP websites store their content in a database which is accessed whenever a visitor opens a page. The content that should be viewed is gathered and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and involve reading and writing on the web server for each page which is accessed. While this cannot be avoided for Internet sites with regularly changing content material, there are a lot of sites that present the very same content on a number of of their webpages constantly - blogs, info portals, hotel and restaurant sites, and many others. APC is very useful for this kind of sites because it caches the previously compiled code and shows it each time visitors browse the cached pages, so the code does not need to be parsed and compiled again. Not only will this minimize the server load, but it'll also increase the speed of any website several times.
APC (PHP Opcode Cache) in Web Hosting
APC is pre-installed on our leading-edge cloud platform, which means that you'll be able to use it for your applications regardless of the web hosting
package that you pick when you sign up. The module can be activated from your Hepsia internet hosting Control Panel that is used to maintain the shared accounts and just several minutes later it'll boost your Internet sites as it will start caching their program code. If you need to run websites with various system requirements or employ specific web accelerators for some of them, you can customize the software environment by putting a php.ini file inside the desired domain folder. This way, you can enable or disable APC not only for a certain website without affecting the other sites in the account, but also for a specific version of PHP since our platform supports multiple versions at the same time.
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
as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes one click inside the Hepsia Control Panel, but if needed, you could use the module only for particular Internet sites. This is possible on account of the flexibility of our cloud platform - multiple releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this particular Internet site and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for your account, so you will be able to take full advantage of APC for many scripts where the module will make a difference and not for others where you may take advantage of a different kind of web accelerator.