ID: 35455 Updated by: [EMAIL PROTECTED] Reported By: hardy at voos dot de -Status: Open +Status: Feedback Bug Type: PHP options/info functions Operating System: Linux PHP Version: 5.1.1 Assigned To: cellog New Comment:
Greg, obviously .phar has to check if it's CLI or CGI. Please, fix it. Previous Comments: ------------------------------------------------------------------------ [2005-11-28 19:12:00] hardy at voos dot de - Extracted the source package to "/usr/local/php-5.1.1" - cd to that - mkdir "lokal" - ./configure --prefix=/usr/local/php-5.1.1/lokal --enableforce-cgi-redirect --enable-discard-path --disable-ipv6 --with-openssl --enable-mbstring --with-mysql=/usr/local/mysql-4.0.20/lokal --with-pgsql=/usr/local/postgresql-8.1.0/lokal --disable-inline-optimization - make - make install Output from "make install" is: Installing PHP SAPI module: cgi Installing PHP CGI into: /usr/local/php-5.1.1/lokal/bin/ Installing build environment: /usr/local/php-5.1.1/lokal/lib/php/build/ Installing header files: /usr/local/php-5.1.1/lokal/include/php/ Installing helper programs: /usr/local/php-5.1.1/lokal/bin/ program: phpize program: php-config Installing man pages: /usr/local/php-5.1.1/lokal/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/php-5.1.1/lokal/lib/php/ [PEAR] Archive_Tar - already installed: 1.3.1 [PEAR] Console_Getopt - already installed: 1.2 [PEAR] PEAR - already installed: 1.4.5 Wrote PEAR system config file at: /usr/local/php-5.1.1/lokal/etc/pear.conf You may want to add: /usr/local/php-5.1.1/lokal/lib/php to your php.ini include_path Installing PDO headers: /usr/local/php-5.1.1/lokal/include/php/ext/pdo/ ------------------------------------------------------------------------ [2005-11-28 19:04:36] [EMAIL PROTECTED] How exactly did you configure/install PHP? ------------------------------------------------------------------------ [2005-11-28 19:00:40] hardy at voos dot de May be. But php uses autoconf/configure scripts. So why isnt't it configured so that "pear" command uses right "php" binary automatically? Also CLI version is not installed by "make install" at all. ------------------------------------------------------------------------ [2005-11-28 18:55:54] hardy at voos dot de There's no output with or without arguments to the "pear" command. "pear" returns a once, exit code (echo $?) is 255. ------------------------------------------------------------------------ [2005-11-28 18:54:03] [EMAIL PROTECTED] also, please verify: did you choose to use php-cgi.exe instead of php.exe? The cgi version is not recommended for PEAR for this exact reason ------------------------------------------------------------------------ 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 http://bugs.php.net/35455 -- Edit this bug report at http://bugs.php.net/?id=35455&edit=1