APC (PHP Opcode Cache)
Find what the abbreviation ‘APC’ is short for, everything that APC can do PHP functionality-wise and ways to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP sites store their content in a database which is accessed whenever a visitor loads a webpage. The content that should be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions need some processing time and require reading and writing on the server for every single page which is loaded. While this can't be avoided for Internet sites with constantly changing content, there are a lot of websites that present the exact same content on a lot of of their pages all the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is very useful for this kind of Internet sites because it caches the previously compiled code and shows it each time visitors browse the cached pages, so the code doesn't need to be parsed and compiled repeatedly. Not only will this lower the server load, but it'll also increase the speed of any website several times.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with each and every
shared hosting package that we offer and you could enable it with only a click from your Hepsia Control Panel if you wish to use it for your web apps. A couple of minutes later the framework will be working and you'll notice the considerably faster loading speed of your database-driven sites. Since we offer several versions of PHP that could also be selected through Hepsia, you will even be able to employ APC for scripts that need different versions of PHP in the very same account. Our leading-edge cloud Internet hosting platform is very adaptable, so if you use some other web accelerator for any website and it disturbs APC, you will be able to activate or deactivate the latter for a specific site only by using a php.ini file generated in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for each and every script application that runs on your new
semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires a click in the Hepsia Control Panel, but if necessary, you can use the module only for certain Internet sites. This is possible as a result of the versatility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to select what version will be used for this particular website and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the ones for the account, so you will be able to take full advantage of APC for many scripts where the module can make a difference and not for others where you can use another kind of web accelerator.