ID: 35455 Updated by: [EMAIL PROTECTED] Reported By: hardy at voos dot de Status: Assigned Bug Type: PHP options/info functions Operating System: Linux PHP Version: 5.1.1 Assigned To: cellog New Comment:
this has nothing to do with phar, it is PEAR. We have a conundrum, because PHP 4.2 simply doesn't work if you pass -dregister_argc_argv=On, and 4.2 is the earliest officially supported version. As the question of supporting PHP 4.2 is a political and not a technical decision, I have to now drag over to pear-core and try to solve this one with the other developers. In the mean time, perhaps it is time to be sure that the cli version of PHP is installed with "make install"!! Previous Comments: ------------------------------------------------------------------------ [2005-11-28 19:14:55] [EMAIL PROTECTED] Greg, obviously .phar has to check if it's CLI or CGI. Please, fix it. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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