APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' signify? Why is the existence of APC inside your account important as far as your PHP-based sites are involved? How to activate this feature?
APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can boost a database-driven site several times. When a PHP web page is accessed, the script pulls the website content that needs to be displayed from a database, parses and compiles the code, and then the result is displayed to the website visitor. While this is necessary for Internet sites with constantly changing content, it's a complete waste of processing time and resources for an Internet site that does not change, like an informational portal that displays identical content at all times. As soon as the web pages for such a website are compiled, APC caches them and delivers them each time a website visitor accesses them. Since this saves the time to get content from the database and to parse and compile the program code, the Internet site will load much faster. APC is very effective especially for scripts with massive source code.
-
APC (PHP Opcode Cache) in Cloud Website Hosting
You will be able to employ APC for your web apps with all of the
cloud website hosting plans that we provide as it is pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that comes with our shared solutions and a few minutes later it'll begin caching the code of your applications. Our platform is extremely flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For example, you could activate APC for several versions of PHP for the entire account and specify the version that each Internet site will use, or you could have the very same version of PHP, but activate or deactivate APC only for specified sites. You can do this by putting a php.ini file with a line of program code inside the domain or subdomain folder where you require the customized setup.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of our
semi-dedicated server solutions and activating the framework is performed with a click in the Hepsia Control Panel, so even if you lack prior experience, you will be able to use it to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP releases, you will have freedom regarding the scripts and web accelerators you can employ. It will take you just a click to enable APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings that are different from the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC should be enabled or not. This way, one site can use APC and PHP 5.3, for instance, whereas another one can use some other accelerator and PHP 5.5.