Кто-нибудь ставил PEAR в PHP 5.3.1 ? Deprecated: Assigning the return value of new by

Labutin

Новичок
Кто-нибудь ставил PEAR в PHP 5.3.1 ? Deprecated: Assigning the return value of new by

Ну в общем-то все написано ниже. Я в ступоре :( Есть варианты поставить PEAR ? Или он по PHP 5.3 не адаптирован?


PHP 5.3.1
wget http://pear.php.net/go-pear
[root@php-dell PEAR]# /opt/php5/bin/php go-pear
Welcome to go-pear!

Go-pear will install the 'pear' command and all the files needed by
it. This command is your tool for PEAR installation and maintenance.

Go-pear also lets you download and install the following optional PEAR
packages: PEAR_Frontend_Web-beta, PEAR_Frontend_Gtk2, MDB2.


If you wish to abort, press Control-C now, or press Enter to continue:

HTTP proxy (http://user:[email protected]:port), or Enter for none: [http://192.168.0.20:3128]:

Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.

1. Installation prefix ($prefix) : /tmp/PEAR
2. Temporary files directory : $prefix/temp
3. Binaries directory : $prefix/bin
4. PHP code directory ($php_dir) : $prefix/PEAR
5. Documentation base directory : $php_dir/docs
6. Data base directory : $php_dir/data
7. Tests base directory : $php_dir/tests

1-7, 'all' or Enter to continue:

The following PEAR packages are bundled with PHP: PEAR_Frontend_Web-beta,
PEAR_Frontend_Gtk2, MDB2.
Would you like to install these as well? [Y/n] : Y

Loading zlib: ok

Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote)
Deprecated: Assigning the return value of new by reference is deprecated in /tmp/PEAR/temp/PEAR.php on line 564

Deprecated: Assigning the return value of new by reference is deprecated in /tmp/PEAR/temp/PEAR.php on line 567

Parse error: syntax error, unexpected T_STRING, expecting ')' in /tmp/PEAR/temp/PEAR.php on line 1056
 

Sad Spirit

мизантроп (Старожил PHPClub)
Команда форума
А что в реальности находится на строке 1056 файла /tmp/PEAR/temp/PEAR.php?

Просто такое подозрение, что файл мог недокачаться, и там, например, сообщение об ошибке.

На сообщения о Deprecated можно забить болт, ибо PEAR должен работать с PHP4.
 

Labutin

Новичок
файл докачался (смотрел глазами). пробовал и с PHP 5.3.0 - проблема точно в том же месте
 

fixxxer

К.О.
Партнер клуба
> Parse error: syntax error, unexpected T_STRING, expecting ')' in /tmp/PEAR/temp/PEAR.php on line 1056

это явно битый файл. не верю, что такое где-либо выложено с синтакс еррорами.

если грушекачалка тупит, положи всю pear-овскую тряхомантию куда нить в include path руками и не парься :)
 

Sad Spirit

мизантроп (Старожил PHPClub)
Команда форума
Автор оригинала: Labutin
файл докачался (смотрел глазами). пробовал и с PHP 5.3.0 - проблема точно в том же месте
Процитируй, пожалста, строку 1056 и пару строк до и после неё. Тем более, я смотрю, тут прокси используется, мало ли что в нём закэшировалось...
 
Сверху