APC (PHP Opcode Cache)
Find what the phrase ‘APC’ is short for, everything that APC is capable of doing PHP overall performance-wise and the ways to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites hold their content within a database which is accessed whenever a visitor loads a webpage. The content that needs to be viewed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. These actions need some processing time and involve reading and writing on the web server for each page which is opened. While this cannot be avoided for sites with constantly changing content material, there are a lot of Internet sites that feature the very same content on a number of of their pages all the time - blogs, info portals, hotel and restaurant websites, and many others. APC is extremely useful for such websites because it caches the already compiled code and displays it whenever visitors browse the cached pages, so the code does not need to be parsed and compiled again. This will not only lower the server load, but it will also boost the speed of any Internet site several times.
APC (PHP Opcode Cache) in Website Hosting
You can employ APC for your web applications with any of the website hosting
packages that we provide because it's pre-installed on our cloud web hosting platform. Turning it on will take just a click in the Hepsia Control Panel which is provided with our shared solutions and several minutes later it will begin caching the code of your applications. Our platform is really 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 versions of PHP for the whole account and set the version that each site can use, or you could have the same version of PHP, but enable or disable APC just for specified sites. You can do this by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with all our semi-dedicated server
packages and activating this framework is performed with a click inside the Hepsia Control Panel, so even when you have no previous experience, you'll be able to use it to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you could employ. It will take you only a click to enable APC for one or several PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC has to be allowed or not. In this way, one Internet site can use APC and PHP 5.3, for instance, whereas another one could use some different accelerator and PHP 5.5.