Edit report at https://bugs.php.net/bug.php?id=64022&edit=1
ID: 64022 Comment by: kingmansoor at gmail dot com 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: Well, I had a similar problem with my php5.3.5 version,installing memcached, where I got a warning that said, "c:\wamp\bin\php\php5.3.5\php.exe appears to have a suffix \php5.3.5\php.exe, but config varibale suffix does not match. I changed the php_suffix's default value to '\php5.3.5\php.exe', the warning was gone but the error remained i.e. The DSP memcached.dsp does not exist. Previous Comments: ------------------------------------------------------------------------ [2013-07-13 05:09:10] lblechl at madisoncollege dot edu 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. ------------------------------------------------------------------------ [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] [email protected] 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. ------------------------------------------------------------------------ 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 -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
