Edit report at https://bugs.php.net/bug.php?id=64022&edit=1
ID: 64022 Comment by: spero dot shiropetto 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: How can you say "No feedback was provided." when the last comment was from myself asking for clarification a day after? I am also unable to re-open the bug as I get the error message "You aren't allowed to change a bug to that state." Previous Comments: ------------------------------------------------------------------------ [2013-02-18 00:36:13] pecl-dev at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2013-01-19 07:34:39] spero dot shiropetto at gmail dot com It is a fresh configuration each time, no PHP installed by yum or RPM. One configuration is tested and removed prior to installing the next. The results are the same from within /opt/php-5.4.11 twhitehead at prevc1webl01 in /opt/php-5.4.11 on $bin/pecl install pecl_http downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ................................................................................ ................................................. 6,048 bytes 71 source files, building WARNING: php_bin /opt/php-5.4.11/bin/php appears to have a suffix -5.4.11/bin/php, but config variable php_suffix does not match running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : ^C It is unclear to me what I am missing if a fresh configuration of php to /opt/billybob doesn't have any issues? $/opt/billybob/bin/pecl install pecl_http downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ................................................................................ .........................................................................done: 1,026,048 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : ^C ------------------------------------------------------------------------ [2013-01-18 19:10:14] [email protected] You have to run the pecl commando from the prefix path, not from the global path. Looks like you have some other php instance around. ------------------------------------------------------------------------ [2013-01-18 14:38:19] spero dot shiropetto at gmail dot com Description: ------------ Receive a warning when attempting to install a pecl package if "php" already exists in the directory path. WARNING: php_bin /opt/php-5.4.11/bin/php appears to have a suffix -5.4.11/bin/php, but config variable php_suffix does not match ./configure --prefix=/opt/php-5.4.11 ##failes ./configure --prefix=/opt/p-5.4.11 ##succeeds ./configure \ --prefix=/opt/p-5.4.11 \ --with-libdir=lib64 \ --enable-cli \ --enable-cgi \ --disable-debug \ --disable-short-tags \ --enable-shared \ --with-apxs2=/usr/sbin/apxs make clean && make && make install =================OUTPUT Installing PEAR environment: /opt/p-5.4.11/lib/php/ [PEAR] Archive_Tar - installed: 1.3.7 [PEAR] Console_Getopt - installed: 1.3.0 [PEAR] Structures_Graph- installed: 1.0.4 [PEAR] XML_Util - installed: 1.2.1 [PEAR] PEAR - installed: 1.9.4 pecl install pecl_http ===========OUTPUT pecl install pecl_http downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ..................................................................................................................................................................................done: 1,026,048 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : Expected result: ---------------- pecl should not match the first "php" it sees to determine the php_suffix. packages should install regardless of where PHP is. pecl install pecl_http ===========OUTPUT pecl install pecl_http downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ..................................................................................................................................................................................done: 1,026,048 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : Actual result: -------------- ./configure \ --prefix=/opt/php-5.4.11 \ --with-libdir=lib64 \ --enable-cli \ --enable-cgi \ --disable-debug \ --disable-short-tags \ --enable-shared \ --with-apxs2=/usr/sbin/apxs make clean && make && make install =================OUTPUT Installing PEAR environment: /opt/php-5.4.11/lib/php/ [PEAR] Archive_Tar - installed: 1.3.7 [PEAR] Console_Getopt - installed: 1.3.0 [PEAR] Structures_Graph- installed: 1.0.4 [PEAR] XML_Util - installed: 1.2.1 [PEAR] PEAR - installed: 1.9.4 Wrote PEAR system config file at: /opt/php-5.4.11/etc/pear.conf You may want to add: /opt/php-5.4.11/lib/php to your php.ini include_path /home/user/Source/php/php-5.4.11/build/shtool install -c ext/phar/phar.phar /opt/php-5.4.11/bin ln -s -f /opt/php-5.4.11/bin/phar.phar /opt/php-5.4.11/bin/phar Installing PDO headers: /opt/php-5.4.11/include/php/ext/pdo/ pecl install pecl_http ===========OUTPUT downloading pecl_http-1.7.4.tar ... Starting to download pecl_http-1.7.4.tar (Unknown size) ................................................................................................................done: 1,026,048 bytes 71 source files, building WARNING: php_bin /opt/php-5.4.11/bin/php appears to have a suffix -5.4.11/bin/php, but config variable php_suffix does not match running: phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 whether to enable cURL HTTP requests; specify libcurl directory [yes] : ^C ------------------------------------------------------------------------ -- 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
