From: max dot antonoff at gmail dot com Operating system: Linux PHP version: 5.4.4RC2 Package: CGI/CLI related Bug Type: Bug Bug description:Hardcoded path /usr/local/bin/php
Description: ------------ max 23:58:24 php-src $ pear list-all exec: 28: /usr/local/bin/php: not found max 23:58:15 php-src $ php -v PHP 5.4.4-RC2 (cli) (built: Jun 5 2012 23:48:00) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies max 23:58:29 php-src $ which php ; which pear; php -i |grep configure /home/max/local/bin/php /home/max/local/bin/pear Configure Command => './configure' '--prefix=/home/max/local' '--enable-proxy' '--disable-cgi' '--with-mysqli' '--enable-fpm' '--with-fpm-user=max' '--with- fpm-group=max' '--with-config-file-path=/home/max/local/etc/php.ini' '--with- config-file-scan-dir=/home/max/local/etc/php.d' '--enable-sigchild' '--disable- ipv6' '--with-openssl' '--with-pcre-regex' '--with-zlib' '--enable-bcmath' '-- with-bz2' '--with-curl' '--with-curlwrappers' '--enable-exif' '--enable-ftp' '-- with-gd' '--enable-gd-native-ttf' '--with-mhash' '--enable-mbstring' '--with- mcrypt' '--with-mysql' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '-- enable-pcntl' '--with-pdo-mysql' '--enable-shmop' '--enable-soap' '--enable- sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable- wddx' '--with-xsl' '--enable-zip' '--enable-mysqlnd' '--with- pear=/home/max/local/PEAR' '--with-jpeg-dir' '--with-png-dir' '--enable-intl' Test script: --------------- max 23:58:24 php-src $ pear list-all Expected result: ---------------- list of packages Actual result: -------------- exec: 28: /usr/local/bin/php: not found -- Edit bug report at https://bugs.php.net/bug.php?id=62236&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62236&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62236&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62236&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62236&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62236&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62236&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62236&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62236&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62236&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62236&r=support Expected behavior: https://bugs.php.net/fix.php?id=62236&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62236&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62236&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62236&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62236&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62236&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62236&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62236&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62236&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62236&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62236&r=mysqlcfg