Bug #64022 [Com]: php_suffix does not match when "php" exists in path
| From: | lblechl at madisoncollege dot edu | Date: | Sat, 13 Jul 2013 05:09:10 +0000 |
| Subject: | Bug #64022 [Com]: php_suffix does not match when "php" exists in path | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-10839@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64022&edit=1
ID: 64022
Comment by: lblechl at madisoncollege dot edu
Reported by: spero dot shiropetto at gmail dot com
Summary: php_suffix does not match when "php" exists in path
Status: No Feedback
Type: Bug
Package: PECL
Operating System: RHEL 6.3
PHP Version: 5.4.11
Block user comment: N
Private report: N
New Comment:
I agree, the expected behavior is still not occurring.
I'm experiencing the same issue with a standard WAMP install with PHP version 5.4.12. WAMP
creates a C:\wamp\bin\php\php<VERSION_NUMBER> path containing the PHP executable by default.
This seems to be consistent with what was suggested as the cause for confusion within pecl.
Previous Comments:
------------------------------------------------------------------------
[2013-06-04 20:45:33] ben dot claar at gmail dot com
OK, I misunderstood "pecl install". I didn't realize "pecl install
<package>"
tried to build the package from source. The expected behavior was to download and
install the correct dll for my system; oops.
But that isn't related to this bug. This bug is that the pecl command gets
confused if "php" is in the php_bin path more than once. That should be fixed, and
this bug should be re-opened.
------------------------------------------------------------------------
[2013-06-04 19:22:31] ab@php.net
Hardly any PECL extension could be build the way you try on windows. If you want
to build PECL extension for windows, please consult this wiki page
https://wiki.php.net/internals/windows/stepbystepbuild
for preparing the
environment. Some prebuilt extensions can be found under
http://windows.php.net/downloads/pecl/ .
------------------------------------------------------------------------
[2013-06-04 18:55:05] ben dot claar at gmail dot com
Maybe related to http://pear.php.net/bugs/bug.php?id=17016
------------------------------------------------------------------------
[2013-06-04 18:51:29] ben dot claar at gmail dot com
Same behavior on fresh WAMP, fresh PEAR installs on Windows. Please re-open.
C:\Users\claar>pecl install apc
downloading APC-3.1.13.tgz ...
Starting to download APC-3.1.13.tgz (171,591 bytes)
.....................................done: 171,591 bytes
55 source files, building
WARNING: php_bin C:\wamp\bin\php\php5.4.3\php.exe appears to have a suffix \php5
.4.3\php.exe, but config variable php_suffix does not match
ERROR: The DSP APC.dsp does not exist.
------------------------------------------------------------------------
[2013-05-30 14:04:28] jmy at morgontech dot com
I'm also experiencing this problem, using 5.3.25.
It's definitely a valid bug.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=64022
--
Edit this bug report at https://bugs.php.net/bug.php?id=64022&edit=1