APC (PHP Opcode Cache)
What exactly does the acronym 'APC' imply? Just why is the presence of APC within your account important as far as your PHP-based Internet sites are concerned? How can you enable this feature?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites keep their content inside a database which is accessed whenever a visitor loads a page. The content that should be viewed is gathered and the code is parsed and compiled before it's delivered to the site visitor. All these actions need some processing time and involve reading and writing on the web server for every single page that is loaded. While this cannot be avoided for Internet sites with constantly changing content material, there're many websites which present the exact same content on a number of of their pages all of the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is exceptionally useful for this type of sites since it caches the previously compiled code and shows it each time visitors browse the cached pages, so the code doesn't have to be parsed and compiled repeatedly. This will not only lower the server load, but it will also increase the speed of any Internet site several times.
APC (PHP Opcode Cache) in Cloud Hosting
APC is provided with each cloud hosting
package that we offer and you could activate it with just a click from your Hepsia Control Panel if you'd like to use it for your applications. A couple of minutes later the framework will be active and you will notice the considerably quicker loading speed of your database-driven sites. As we provide different releases of PHP that can also be selected through Hepsia, you will even be able to employ APC for scripts that require different versions of PHP within the very same account. Our advanced cloud hosting platform is extremely flexible, so in case you use an alternative web accelerator for any Internet site and it disturbs APC, you could activate or deactivate the aforementioned for a selected site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for each and every script application which runs on your new semi-dedicated hosting
because the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account requires a single click inside the Hepsia Control Panel, but if needed, you could use the module only for specific sites. This is possible due to the flexibility of our cloud platform - multiple versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you can choose what release will be used for this specific site and whether APC should be enabled or disabled. Using such a file allows you to use settings that are different from the ones for your account, so you can take advantage of APC for some scripts where the module can make a difference and not for others where you may use a different kind of web accelerator.