How to enable or install LAMP related extentions on Ubuntu LAMP?

Here the solutions for some of the LAMP related extensions to install or enable:


You need to run this command for enable curl Extension:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl


You can install SOAP extension by run this command:

sudo apt-get install php5-curl php-soap


sudo apt-get install php5-gd


sudo apt-get install php5-imap


sudo apt-get install php-pear php5-dev libmysqlclient15-dev
sudo pecl install pdo
sudo pecl install pdo_mysql

You might also need to add the following to /etc/php5/apache2/php.ini

After installing every extension you should restart the web server with one of the following commands,

sudo /etc/init.d/apache2 restart OR sudo service apache2 restart
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkedin
Share On Pinterest

1 Trackbacks & Pingbacks

  1. Xibo Server installation on ubuntu |

Leave a Reply

Your email address will not be published.