ID: 48194 Comment by: oxie at live dot nl Reported By: oxie at live dot nl Status: Feedback Bug Type: Compile Failure Operating System: Ubuntu 8.04.2 PHP Version: 5.2.9 New Comment:
Yes, they exists. o...@webdev:~$ /usr/local/lamp/php/bin/php-config --prefix /usr/local/lamp/php o...@webdev:~$ /usr/local/lamp/php/bin/php-config --php-binary /usr/local/lamp/php/bin/php Seems to be good... Previous Comments: ------------------------------------------------------------------------ [2009-05-09 04:23:25] [email protected] Does /usr/local/lamp/php/bin/php-config exist? If so, what do these output: # /usr/local/lamp/php/bin/php-config --prefix And # /usr/local/lamp/php/bin/php-config --php-binary ------------------------------------------------------------------------ [2009-05-08 19:48:33] oxie at live dot nl Description: ------------ The generated scripts bin/pear and bin/pecl have the wrong path to the PHP executable. The path in the script look likes '/usr/local/lamp/apache2/bin/apxs2/bin/apxs/bin/php', where it must be '/usr/local/lamp/php/bin/php'. When manually chaning the path to that, it is working. The output that i get is, logically: exec: 28: /usr/local/lamp/apache2/bin/apxs/bin/php: not found My configure statement: ./configure --prefix=/usr/local/lamp/php --with-apxs2=/usr/local/lamp/apache2/bin/apxs --with-pear=/usr/local/lamp/php/lib/php [a lot of extensions] The bin/pear script: http://pastebin.com/d132560e ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48194&edit=1
