APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' imply? Just why is the existence of APC in your account essential as far as your PHP-based sites are involved? How can you turn on this feature?
Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very efficient for scripts with large source code and will boost such a website as much as three times. PHP sites are dynamic and each time a visitor accesses a web page, the script links to a database to retrieve some content, then the code is parsed and compiled before it's displayed to the site visitor. In case the output code doesn't change however, that's the case with sites which display the very same content all the time, such actions trigger unneeded reading and writing. What APC does is that it caches the already compiled code and delivers it each time visitors browse a site, so the database does not have to be accessed and the program code does not need to be parsed and compiled repeatedly, that consequently minimizes the site loading time. The module can be very useful for informational sites, blogs, portfolios, and so on.
-
APC (PHP Opcode Cache) in Shared Website Hosting
You'll be able to employ APC for your web apps with any of the
shared website hosting plans 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 couple of minutes later it will begin caching the program code of your software applications. Our platform is really flexible, so you will be able to use several configurations in accordance with the system requirements of the scripts. For example, you can activate APC for a couple of versions of PHP for the whole account and choose the version that each website can use, or you can have the same version of PHP, but activate or deactivate APC just for specified Internet sites. You can do this 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 Hosting
APC is set up on the innovative cloud hosting platform where all
semi-dedicated hosting accounts are made, so you could use it whatever the package you choose. Activating the module is done from the Hepsia Control Panel and takes just a click, so you will not need any skills or previous experience to take advantage of it. As you'll be able to use different versions of PHP concurrently, you could modify the software environment for each website that you host in the account if needed. A php.ini file with several lines in it placed in a domain folder will allow you to set what version of PHP this specific website will use and whether APC should be on or off for it. These settings will have priority over the ones for the account in general, so you can run different scripts and employ various web accelerators for sites that are in the same account.