APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that could speed up a database-driven Internet site several times. Every time a PHP web page is opened, the script pulls the website content that should 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 sites with frequently changing content, it is a waste of processing time and resources for a website which does not change, such as an informational portal that shows identical content all the time. When the pages for such an Internet site are compiled, APC caches them and delivers them every time a visitor accesses them. As this saves the time to get content from the database and to parse and compile the program code, the site will load considerably faster. APC is really helpful particularly for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is provided with every single shared hosting solution that we offer and you can activate it with just a click through your Hepsia Control Panel if you want to use it for your web applications. Several minutes later the framework will be active and you'll experience the considerably quicker loading speed of your database-driven sites. Since we offer several releases of PHP that can also be selected from Hepsia, you will even be able to employ APC for scripts that require different versions of PHP within the very same account. Our state-of-the-art cloud web hosting platform is extremely flexible, so if you use an alternative web accelerator for any website and it disrupts APC, you could activate or deactivate the latter for a selected site only by using a php.ini file created in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is set up on the state-of-the-art cloud web hosting platform where all semi-dedicated server accounts are made, so you'll be able to employ it whatever the plan you get. Enabling the module is performed through the Hepsia Control Panel and takes just a click, so you will not need any skills or previous experience in order to take full advantage of it. Since you'll be able to employ several versions of PHP at once, you'll be able to modify the software environment for each site which you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will permit you to set what version of PHP this Internet site will use and whether APC should be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run different scripts and take advantage of different web accelerators for websites that are in the same account.