I'm trying to install a program called phraseanet. I ran the ./configure command and run into this error:
configure: error: Cannot find php-config. Please use --with-php-config=PATH
I am using Ubuntu 10.04, Apache 2, PHP5 and Mysql 5
Does anyone know where I can find the php-config? I can't find that file….
Best Answer
To use php-config you will need to have the PHP development package installed, in Ubuntu you can install the PHP5 development package using:
After installing the php5-dev package, (on my Ubuntu installation) php-config can be found in: