From: oxie at live dot nl Operating system: Ubuntu 8.04.2 PHP version: 5.2.9 PHP Bug Type: *Compile Issues Bug description: The path to the PHP executable isn't correct
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 bug report at http://bugs.php.net/?id=48194&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48194&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48194&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48194&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48194&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48194&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48194&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48194&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48194&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48194&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48194&r=support Expected behavior: http://bugs.php.net/fix.php?id=48194&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48194&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48194&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48194&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48194&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48194&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48194&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48194&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48194&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48194&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48194&r=mysqlcfg