php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64335 PECL not looking for "--program-suffix".
Submitted: 2013-03-02 12:27 UTC Modified: 2021-10-11 15:35 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: phpfpm1 at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: PECL (PECL)
PHP Version: 5.4.12 OS: CentOS 6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 - 12 = ?
Subscribe to this entry?

 
 [2013-03-02 12:27 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-02 19:16 UTC] bjori@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 22:01 UTC] 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.
 [2021-10-11 15:35 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2021-10-11 15:35 UTC] cmb@php.net
Please report this issue to pear[1], of which pecl is merely an
alias.

[1] <https://pear.php.net/bugs/>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC