APC, which is an acronym for 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 site several times. Every time a PHP web page is opened, the script pulls the website content which needs to be shown from a database, parses and compiles the code, and the result is displayed to the site visitor. While this is necessary for websites with constantly changing content, it is a complete waste of processing time and system resources for a website that does not change, for instance an informational portal that shows identical content on a regular basis. Once the webpages for such a website are compiled, APC caches them and delivers them each time a visitor loads them. Since this saves the time to request content from the database and to parse and compile the program code, the Internet site will load considerably faster. APC is very useful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Shared Hosting
APC is provided with each and every shared hosting
solution that we offer and you can enable it with only a click through your Hepsia Control Panel if you would like to use it for your web apps. A few minutes later the framework will be active and you'll experience the faster loading speed of your database-driven sites. As we offer different releases of PHP which can also be selected from Hepsia, you'll even be able to to employ APC for scripts that require different versions of PHP within the very same account. Our leading-edge cloud Internet hosting platform is very flexible, so if you use an alternative web accelerator for any website and it interferes with APC, you will be able to activate or deactivate the aforementioned for a particular site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all of our semi-dedicated server
packages and activating the framework is performed with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you could use it to quicken your websites. As the cloud internet hosting platform where the semi-dedicated accounts are made supports multiple PHP versions, you will have freedom with regards to the scripts and web accelerators you can use. It will take you just a click to allow 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 different from the ones for the account in general, you will be able to set what PHP release will be used and whether APC should be allowed or not. This way, one Internet site can use APC and PHP 5.3, for instance, while another one can use another accelerator and PHP 5.5.