APC (PHP Opcode Cache)
What does the acronym 'APC' mean? Just why is the presence of APC within your account important as far as your PHP-based sites are concerned? How can you activate this feature?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP websites save their content in a database that is accessed whenever a visitor loads a webpage. The content which should be displayed is gathered and the code is parsed and compiled before it is delivered to the site visitor. These actions take some processing time and involve reading and writing on the server for every single page that is loaded. While this cannot be avoided for Internet sites with constantly changing content, there are various Internet sites that offer the very same content on a number of of their pages all of the time - blogs, info portals, hotel and restaurant sites, and many others. APC is really useful for this type of sites since it caches the previously compiled code and displays it every time visitors browse the cached pages, so the code doesn't need to be parsed and compiled again. This will not only decrease the server load, but it'll also raise the speed of any Internet site many times.
-
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to employ APC for your web apps with any of the
cloud hosting packages that we provide since it's pre-installed on our cloud web hosting platform. Turning it on will take just a single click inside the Hepsia Control Panel that comes with our shared solutions and a few minutes later it will begin caching the code of your apps. Our platform is rather flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For instance, you can activate APC for a couple of versions of PHP for the whole account and specify the version that each website can use, or you could have the exact same version of PHP, but enable or disable APC just for specified websites. You can do this by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC for every single script application which is run on your new
semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes a single click from the Hepsia Control Panel, but if necessary, you could use the module just for certain sites. This is possible on account of the flexibility of our cloud platform - several releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to choose what release will be used for this particular site and whether APC has to be enabled or disabled. Using such a file enables you to use settings which are different from the standard ones for the account, so you could take advantage of APC for many scripts where the module will make a difference and not for others where you can employ a different kind of web accelerator.