APC (PHP Opcode Cache)
What exactly does the acronym 'APC' imply? Why is the presence of APC in your account essential as far as your PHP-based web sites are involved? How to activate this feature?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites save their content in a database which is accessed whenever a visitor loads a webpage. The content that has to be viewed is gathered and the code is parsed and compiled before it is delivered to the visitor. All of these actions need some processing time and involve reading and writing on the web server for each page that is loaded. While this can't be avoided for sites with regularly changing content, there are many Internet sites that offer the very same content on a number of of their pages at all times - blogs, info portals, hotel and restaurant websites, and many others. APC is exceptionally useful for this type of sites since it caches the already compiled code and displays it whenever visitors browse the cached webpages, so the code doesn't have to be parsed and compiled repeatedly. This will not only minimize the server load, but it'll also increase the speed of any site a few times.
-
APC (PHP Opcode Cache) in Shared Website Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you can use it for your web applications whatever the
shared website hosting package that you select when you join us. The module can be enabled through the Hepsia internet hosting Control Panel that is used to handle the shared accounts and just a couple of minutes later it will boost your Internet sites as it will start caching their program code. In case you want to run sites with different system requirements or use different web accelerators for any of them, you can customize the software environment by putting a php.ini file inside the preferred domain folder. In this way, you could enable or disable APC not only for a particular website without affecting the other sites in the account, but also for a particular version of PHP as our platform supports multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the innovative cloud hosting platform where all
semi-dedicated hosting accounts are made, so you'll be able to employ it whatever the package you select. Enabling the module is done from the Hepsia Control Panel and takes only a mouse click, so you will not need any skills or prior experience to take advantage of it. Since you'll be able to employ several releases of PHP at the same time, you will be able to customize the software environment for each and every Internet site that you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will permit you to set what version of PHP this particular site will use and if APC has to be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run different scripts and take advantage of different web accelerators for Internet sites which are in the same account.