APC (PHP Opcode Cache)
What does the abbreviation 'APC' imply? Just why is the presence of APC inside your account essential as far as your PHP-based websites are involved? How can you activate this feature?
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that could boost a database-driven website several times. Each time a PHP page is accessed, the script pulls the site content which should be displayed from a database, parses and compiles the program code, and the result is displayed to the website visitor. While this is necessary for sites with frequently changing content, it is a waste of processing time and system resources for a website that doesn't change, for instance an informational portal that shows the exact same content on a regular basis. As soon as the webpages for such a website are compiled, APC caches them and delivers them every time a visitor opens them. Since this saves the time to get content from the database and to parse and compile the program code, your Internet site will load a lot quicker. APC is very effective in particular for scripts with larger source code.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with every single
shared hosting package that we offer and you could activate it with just a click through your Hepsia Control Panel if you wish to use it for your web applications. A few minutes later the framework will be working and you will experience the considerably faster loading speed of your database-driven sites. As we offer several versions of PHP which can also be selected through Hepsia, you will even be able to use APC for scripts which need different versions of PHP in the same account. Our leading-edge cloud Internet hosting platform is very adaptable, so in case you use an alternative web accelerator for any website and it disturbs APC, you will be able to activate or deactivate the latter for a specific site only by using a php.ini file generated in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every single script application that is run on your new
semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account takes one click inside the Hepsia Control Panel, but if necessary, you can use the module only for specific websites. This is possible as a result of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you can choose what version will be used for this specific website and whether APC should be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for the account, so you could take advantage of APC for a lot of scripts where the module makes a difference and not for others where you could use a different type of web accelerator.