APC (PHP Opcode Cache)
What does the abbreviation 'APC' mean? Why is the presence of APC within your account important as far as your PHP-based websites are involved? How can you activate this feature?
APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can speed up a database-driven Internet site several times. Every time a PHP web page is opened, the script pulls the content which needs to be loaded from a database, parses and compiles the code, then the result is shown to the visitor. While this is necessary for sites with constantly changing content, it is a waste of processing time and system resources for an Internet site that does not change, for instance an informational portal that shows the exact same content all the time. When the pages for such an Internet site are compiled, APC caches them and delivers them each time a user accesses them. Since this saves the time to get content from the database and to parse and compile the program code, the site will load significantly faster. APC is very effective in particular for scripts with large source code.
-
APC (PHP Opcode Cache) in Website Hosting
APC is pre-installed on our state-of-the-art cloud platform, therefore you'll be able to use it for your web applications whatever the
website hosting package that you select when you register. The module can be activated from your Hepsia internet hosting Control Panel that is used to control the shared accounts and only a few minutes later it'll boost your Internet sites because it will begin caching their code. If you would like to run Internet sites with different system requirements or take advantage of different web accelerators for some of them, you'll be able to customize the software environment by placing a php.ini file inside the desired domain folder. In this way, you can enable or disable APC not only for a specific site without affecting the remaining sites in the account, but also for a certain version of PHP as our platform supports multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for each and every script application that is run on your new
semi-dedicated hosting since the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account takes one click in the Hepsia Control Panel, but if necessary, you could use the module only for particular Internet sites. This is possible due to the flexibility of our cloud platform - several releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this particular Internet site 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 advantage of APC for many scripts where the module can make a difference and not for others where you can take advantage of another kind of web accelerator.