APC (PHP Opcode Cache)
Discover what APC (PHP Opcode Cache) is and how it can influence the PHP performance inside your web hosting account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP sites hold their content within a database which is accessed whenever a visitor loads a page. The content that needs to be shown is gathered and the code is parsed and compiled before it's delivered to the site visitor. All of these actions take some processing time and include reading and writing on the hosting server for every single page which is accessed. While this can't be avoided for sites with constantly changing content, there're numerous Internet sites that present the exact same content on a number of of their pages all of the time - blogs, informational portals, hotel and restaurant websites, etcetera. APC is really useful for this type of Internet sites since it caches the previously compiled code and displays it whenever visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it'll also boost the speed of any site many times.
-
APC (PHP Opcode Cache) in Shared Hosting
You will be able to employ APC for your web apps with all of the
shared hosting packages that we offer as it is pre-installed on our cloud website hosting platform. Turning it on will take just a click inside the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll begin caching the code of your software apps. Our platform is rather flexible, so you will be able to use different configurations determined by the system requirements of the scripts. For instance, you will be able to activate APC for several versions of PHP for the whole account and choose the version that each website will use, or you can have the exact same version of PHP, but activate or deactivate APC just for particular Internet sites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you need the customized setup.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each and every script application that is run on your new
semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account takes a click inside the Hepsia Control Panel, but if needed, you can use the module just for certain websites. This is possible on account of the flexibility of our cloud platform - several versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to pick what release will be used for this specific site and whether APC should be enabled or disabled. Employing such a file enables you to use settings that are different from the ones for your account, so you will be able to take advantage of APC for some scripts where the module will make a difference and not for others where you can use another type of web accelerator.