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:

CURL:

You need to run this command for enable curl Extension:

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

SOAP:

You can install SOAP extension by run this command:

sudo apt-get install php5-curl php-soap

GD:

sudo apt-get install php5-gd

IMAP:

sudo apt-get install php5-imap

pdo_mysql:

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

extension=pdo.so
extension=pdo_mysql.so

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 | Devl9.com

Leave a Reply

Your email address will not be published.

*


*