I try to build an extension (phpize..../configure --with... etc) The extension builds fine on my machine, but when I go to another machine
(which has PHP built from soure, and the php-configure is both in script folder and the /usr/bin folder)
I get configure: error: Cannot find php-config. Please use --with-php-config=PATH.
Same happen even if I --with-php-config=/usr/bin
Just to make sure, when I type /usr/bin/php-config it runs.