Bug #62236 [Opn->Nab]: Hardcoded path /usr/local/bin/php
Edit report at https://bugs.php.net/bug.php?id=62236&edit=1
ID: 62236
Updated by: maarten@php.net
Reported by: max dot antonoff at gmail dot com
Summary: Hardcoded path /usr/local/bin/php
-Status: Open
+Status: Not a bug
Type: Bug
Package: CGI/CLI related
Operating System: Linux
PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2012-06-15 14:58:06] max dot antonoff at gmail dot com
Seems fixed:
which php; which pear; php -v; php -i |grep configure; pear list-all |grep
XML_svg2image
/home/max/local/bin/php
/home/max/local/bin/pear
PHP 5.4.4 (cli) (built: Jun 15 2012 18:47:49)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Configure Command => './configure' '--prefix=/home/max/local'
'--disable-cgi'
'--with-pear=/home/max/local/PEAR'
pear/XML_svg2image 0.2.0 Converts a svg
file to a png/jpeg image.
------------------------------------------------------------------------
[2012-06-15 11:37:29] maarten@php.net
Max, could you please try/test the above hint?
------------------------------------------------------------------------
[2012-06-11 12:59:53] Sjon at hortensius dot net
/usr/bin/pear is a simple script that determines which PHP binary to use. It
should be easy to debug this yourself, I think an incorrect $PHP_PEAR_PHP_BIN
might cause this for example
------------------------------------------------------------------------
[2012-06-05 20:04:05] max dot antonoff at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=62236&edit=1
Thread (5 messages)