APC (PHP Opcode Cache)
Find what the acronym ‘APC’ is short for, just what APC is capable of PHP overall performance-wise and how to activate it for your account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can boost a database-driven Internet site several times. Each time a PHP page is accessed, the script pulls the website content which should be shown from a database, parses and compiles the code, and then the result is displayed to the site visitor. While this is necessary for sites with routinely changing content, it is a complete waste of processing time and resources for a website that does not change, like an informational portal which shows identical content on a regular basis. Once the webpages for such a site are compiled, APC caches them and delivers them each time a user loads them. As this saves the time to request content from the database and to parse and compile the program code, the website will load significantly faster. APC is really useful particularly for scripts with large source code.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with every single
shared hosting package that we offer and you can enable it with just a click from your Hepsia Control Panel if you want to use it for your applications. A couple of minutes later the framework will be active and you'll notice the faster loading speed of your database-driven sites. Since we provide different versions of PHP which could also be selected from Hepsia, you will even be able to employ APC for scripts that need different versions of PHP in the same account. Our next generation cloud Internet hosting platform is extremely flexible, so if you use a different web accelerator for any website and it disturbs APC, you'll be able to activate or deactivate the aforementioned for a specific site only by using a php.ini file created in the domain or subdomain folder.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is set up on the state-of-the-art cloud web hosting platform where all
semi-dedicated hosting accounts are created, so you will be able to employ it irrespective of the plan you select. Activating the module is done through the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or earlier experience to be able to take full advantage of it. Since you'll be able to work with different versions of PHP concurrently, you will be able to customize the software environment for each and every website that you host in the account if needed. A php.ini file with a few lines in it placed in a domain folder will enable you to set what release of PHP this specific site will use and if APC needs to be on or off for it. These settings will have priority over those for the account in general, so you could run different scripts and take advantage of different web accelerators for websites that are in the same account.