Pear fetch script problem on PHP 7.0
| From: | Lior Kaplan | Date: | Sun, 22 Nov 2015 11:23:17 +0000 |
| Subject: | Pear fetch script problem on PHP 7.0 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-89293@lists.php.net to get a copy of this message | ||
Hi,
Trying to build PHP 7 RC7 on Darwin I get:
[activating module `php7' in /usr/local/zend/apache2/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/zend/bin/
Installing PHP CLI man page: /usr/local/zend/share/man/man1/
Installing phpdbg binary: /usr/local/zend/bin/
Installing phpdbg man page: /usr/local/zend/share/man/man1/
Installing PHP CGI binary: /usr/local/zend/bin/
Installing PHP CGI man page: /usr/local/zend/share/man/man1/
Installing build environment: /usr/local/zend/lib/php/build/
Installing header files: /usr/local/zend/include/php/
Installing helper programs: /usr/local/zend/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/zend/share/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/zend/share/pear/
Fatal error: Redefinition of parameter $argv in
/php-7.0.0RC7/pear/fetch.php on line 3
make: *** [install-pear] Error 255
Has anyone encounter this from pear/fetch.php ? I could build PHP 5.6.15 in
the same environment without a problem (and the file is the same in
5.6/7.0).
Kaplan
p.s.
Most Linux environments have wget/curl so they are used before that script
(part of the "make pear-install" target).