APC (PHP Opcode Cache)
Find out what the abbreviation ‘APC’ is short for, what precisely APC is capable of doing PHP efficiency-wise and 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 applications. Dynamic PHP Internet sites save their content inside a database that is accessed whenever a visitor loads a webpage. The content that has to be displayed is retrieved and the code is parsed and compiled before it's delivered to the visitor. These actions need some processing time and require reading and writing on the hosting server for every single page that is accessed. While this cannot be avoided for sites with regularly changing content, there're various websites that have the very same content on many of their pages constantly - blogs, info portals, hotel and restaurant websites, etcetera. APC is exceptionally useful for this type of websites since it caches the previously compiled code and displays it every time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it'll also increase the speed of any site several times.
-
APC (PHP Opcode Cache) in Website Hosting
You can employ APC for your web applications with all of the
website hosting packages that we offer as it is pre-installed on our cloud website hosting platform. Activating it will take just a single click in the Hepsia Control Panel that is provided with our shared plans and a few minutes later it'll start caching the code of your apps. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of the scripts. For instance, you could activate APC for a couple of releases of PHP for the entire account and set the version that each 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 inside the domain or subdomain folder where you require the customized configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with our
semi-dedicated hosting solutions and activating this framework is done with a mouse click inside the Hepsia Control Panel, so even if you don't have any previous experience, you can use it to speed up your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you'll have freedom regarding the scripts and web accelerators you will be able to use. It will take you only a click to activate APC for one or several PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you'll be able to set what PHP version will be used and whether APC needs to be enabled or not. This way, one site may use APC and PHP 5.3, for example, while another one may use a different accelerator and PHP 5.5.