ID: 48194
Updated by: jani@php.net
Reported By: oxie at live dot nl
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Ubuntu 8.04.2
PHP Version: 5.2.9
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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