Edit report at https://bugs.php.net/bug.php?id=64335&edit=1

 ID:                 64335
 Updated by:         c...@php.net
 Reported by:        phpfpm1 at gmail dot com
 Summary:            PECL not looking for "--program-suffix".
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            PECL
 Operating System:   CentOS 6
 PHP Version:        5.4.12
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Please report this issue to pear[1], of which pecl is merely an
alias.

[1] <https://pear.php.net/bugs/>


Previous Comments:
------------------------------------------------------------------------
[2013-03-02 22:01:08] phpfpm1 at gmail dot com

pecl was installed together with PHP. After installation a folder with the 
following binaries was created:
pear  
peardev  
pecl  
phar  
phar.phar  
php54  
php-cgi54  
php-config54  
phpize54

It would be nice to have pecl54 created if "--program-suffix=54" is used, which 
would look for php54 (the same could be said about pear). I've just found 
https://bugs.php.net/bug.php?id=43857, which describes the same problem, 
however, the problem is still not fixed.

------------------------------------------------------------------------
[2013-03-02 19:16:02] bj...@php.net

how did you install pear/pecl?
I don't know if we can actually know your php binary name without you telling 
it.

------------------------------------------------------------------------
[2013-03-02 12:27:05] phpfpm1 at gmail dot com

Description:
------------
/usr/local/php54/bin/pecl install memcache
/usr/local/php54/bin/pecl: line 28: /usr/local/php54/bin/php: No such file or 
directory
/usr/local/php54/bin/pecl: line 28: exec: /usr/local/php54/bin/php: cannot 
execute: No such file or directory

It looks for: /usr/local/php54/bin/php, however, the binary is 
/usr/local/php54/bin/php54, because "--program-suffix=54" is used for PHP 
installation.

Test script:
---------------
/usr/local/php54/bin/pecl install memcache

Expected result:
----------------
PECL looking for /usr/local/php54/bin/php54.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=64335&edit=1

-- 
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to