Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to compile php from source on ubuntu 13.04 but I'm struggling to find what dependencies i need to install using apt-get to get it to compile.

Whats the easiest why to find what i need to install going by the configure command? for eg i used ./configure --help

and came up this with this but that does not give much insite into what dependencies that need to be installed

--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --enable-opcache --with-openssl --with-curl=/usr/bin --enable-exif --enable-ftp --enable-intl --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr 
--with-freetype-dir=/usr --enable-intl --enable-mbstring 
--with-mcrypt=/usr --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-sysvmsg --enable-sysvshm --enable-zip --with-pear 
share|improve this question
Why are you doing this at all?! – Michael Hampton Jul 25 '13 at 10:05
Because the application that's been deployed does not support the old version that's in the ubuntu repos. – Chris R Jul 25 '13 at 11:19
up vote 0 down vote accepted

Found an easy why when running ./configure it slowly told me one by one what lib i needed to install.

share|improve this answer

Your Answer


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.