APC (PHP Opcode Cache)
What does the abbreviation 'APC' imply? Why is the presence of APC in your account important as far as your PHP-based websites are involved? How to turn on this feature?
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can speed up a database-driven Internet site several times. When a PHP web page is accessed, the script pulls the site content which needs to be displayed from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for Internet sites with frequently changing content, it is a total waste of processing time and system resources for a site which doesn't change, such as an informational portal which displays the exact same content at all times. When the webpages for such a website are compiled, APC caches them and delivers them whenever a visitor accesses them. As this saves the time to obtain content from the database and to parse and compile the program code, the website will load considerably quicker. APC is very efficient especially for scripts with large source code.
-
APC (PHP Opcode Cache) in Shared Website Hosting
APC is pre-installed on our leading-edge cloud platform, which means that you'll be able to use it for your applications whatever the
shared website hosting package that you pick when you sign up. The module can be enabled through the Hepsia hosting Control Panel that is used to handle the shared accounts and only a few minutes later it'll boost your sites because it'll start caching their code. If you want to run websites with various system requirements or use specific web accelerators for any of them, you can customize the software environment by placing a php.ini file inside the desired domain folder. This way, you could enable or disable APC not only for a specific website without affecting the remaining sites in the account, but also for a particular version of PHP since our platform supports multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of APC with our
semi-dedicated server plans and activating this framework is done with a mouse click from the Hepsia Control Panel, so even if you don't have any prior experience, you could use it to speed up your sites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you can employ. It will take you only a click to enable APC for one or several PHP releases and by using a php.ini file inside the domain/subdomain folders where you need settings which are not the same as the ones for the account as a whole, you can set what PHP version will be used and whether APC has to be allowed or not. This way, one website could use APC and PHP 5.3, for example, whereas another one may use some different accelerator and PHP 5.5.