Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was installing Mediawiki on my local development machine and in the configuration, it told me that I will have to make do with slower loading tradition php pages because I dont have a PECL extension installed.

Does installing PECL really speed up page load times on a local server(or any server)? If yes, can I please have a detailed tutorial on how to install PECL and configure it that says more than just sudo apt-get install pecl-php?

share|improve this question

1 Answer 1

Try the following:

$ sudo apt-get install php-pear php5-dev 
$ sudo pecl install pecl_http
$ sudo echo 'extension=http.so' >> /etc/php5/apache2/php.ini
$ sudo service apache2 restart

To verify it's installed run the following command

$ php -m | grep http

You should see http in the output.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.