APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it could affect 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 applications. Dynamic PHP Internet sites store their content in a database that is accessed whenever a visitor loads a page. The content which needs to be shown is retrieved and the code is parsed and compiled before it is delivered to the website visitor. These actions need some processing time and include reading and writing on the web server for every single page that is accessed. While this cannot be avoided for websites with regularly changing content material, there're many websites which present the same content on a lot of of their pages constantly - blogs, info portals, hotel and restaurant websites, and many others. APC is very useful for such Internet sites as it caches the previously compiled code and shows it when visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. This will not only decrease the server load, but it will also boost the speed of any Internet site several times.
-
APC (PHP Opcode Cache) in Shared Website Hosting
You will be able to use APC for your web applications with any of the
shared website hosting packages that we provide since it's pre-installed on our cloud web hosting platform. Activating it will take only a mouse click in the Hepsia Control Panel which is provided with our shared solutions and several minutes later it will begin caching the program code of your apps. Our platform is quite flexible, so you'll be able to use different configurations depending on the system requirements of the scripts. For example, you can activate APC for a couple of releases of PHP for the entire account and set the version that each Internet site will use, or you could have the exact same version of PHP, but activate or deactivate APC only for specified websites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every single script application which runs on your new
semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes a click from the Hepsia Control Panel, but if needed, you could use the module only for specific sites. This is possible because of the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to choose what release will be used for this particular site and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for the account, so you'll be able to take advantage of APC for a lot of scripts where the module can make a difference and not for others where you may take advantage of some other type of web accelerator.