install apc alternative php, cache, drupal in Ubuntu
Here you will get to know about the installation of apc alternative php, cache, drupal in Ubuntu. I’m working within Ubuntu 12.04.LTS. If you’re working on a different Linux disastrous then there is a possibility that these command lines might not work for you.
It is a good thought to set a performance benchmark to gain a better sense of the effect APC will have on the site performance. One way to do this is to use the Apache Benchmark tool:
This will run maximum 5 requests concurrently and will hit the server with total 10 requests. Repeat the test a couple times before getting the average of your results to get a sense of where your performance stands before we start the installation of APC. These were my results:
First of all, we need to install PECL and the latest PHP-dev packages to move further. Even if you already have these packages installed, please proceed to run them again to make sure.
Now let’s start the installation of APC:
We need to edit the php.ini configuration file to enable APC:
If you need to upgrade then execute the following given commands:
You successfully installed( install apc alternative php, cache, drupal in Ubuntu)