APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' signify? Why is the existence of APC inside your account essential as far as your PHP-based Internet sites are concerned? How to turn on this feature?
APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could boost a database-driven site several times. Each time a PHP page is accessed, the script pulls the content which needs to be loaded from a database, parses and compiles the program code, then the result is shown to the site visitor. While this is necessary for Internet sites with regularly changing content, it's a waste of processing time and system resources for a website that does not change, such as an informational portal that shows the very same content at all times. Once the webpages for such a website are compiled, APC caches them and delivers them any time a website visitor opens them. Since this saves the time to request content from the database and to parse and compile the code, your website will load considerably faster. APC is really helpful especially for scripts with massive source code.
-
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to use APC for your web apps with all of the
cloud hosting plans that we offer as it's pre-installed on our cloud web hosting platform. Enabling it will take just a click inside the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it'll start caching the code of your apps. Our platform is rather flexible, so you'll be able to use different configurations in accordance with the system requirements of the scripts. For example, you can activate APC for several versions of PHP for the whole account and set the version that each site will use, or you could have the same version of PHP, but enable or disable APC just for specific 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 require the customized setup.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is available with all
semi-dedicated hosting plans as it's pre-installed on the cloud website hosting platform where your account shall be created. In case you want to use this module, you can enable it with just a single click from your Hepsia Control Panel and it'll be fully functional within a few minutes. Since you may need to use other web accelerators for selected Internet sites, our outstanding platform will allow you to customize the software environment in your account. You'll be able to activate APC for different releases of PHP or use it just for some websites and not for others. For instance, a Drupal
™-based site could work with APC using PHP 5.4 and a WordPress website can work without APC employing PHP 5.6. All it takes to do the aforementioned is a php.ini file with a couple of lines in it, so you'll be able to run Internet sites with various requirements in the exact same account.