Labutin
Новичок
Проблема при установке PEAR из PHP 4.4.9
Делаю так:
[root@php-dell /]# cd /tmp/6
[root@php-dell 6]# wget http://pear.php.net/go-pear
--13:16:12-- http://pear.php.net/go-pear
Устанавливается соединение с 192.168.0.20:3128... соединение установлено.
Запрос Proxy послан, ожидается ответ... 200 OK
Длина: 87673 (86K) [text/plain]
Saving to: `go-pear'
100%[====================================================================================>] 87 673 --.-K/s in 0,002s
13:16:12 (34,9 MB/s) - `go-pear' сохранён [87673/87673]
[root@php-dell 6]# php go-pear
X-Powered-By: PHP/4.4.9
Content-type: text/html
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/6
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] :
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote)
Parse error: syntax error, unexpected T_STRING, expecting ')' in /tmp/6/temp/PEAR.php on line 1056
Подскажите, как побороть проблему?
Файла /tmp/6/temp/PEAR.php даже нет, чтобы глянуть, что там не так
Делаю так:
[root@php-dell /]# cd /tmp/6
[root@php-dell 6]# wget http://pear.php.net/go-pear
--13:16:12-- http://pear.php.net/go-pear
Устанавливается соединение с 192.168.0.20:3128... соединение установлено.
Запрос Proxy послан, ожидается ответ... 200 OK
Длина: 87673 (86K) [text/plain]
Saving to: `go-pear'
100%[====================================================================================>] 87 673 --.-K/s in 0,002s
13:16:12 (34,9 MB/s) - `go-pear' сохранён [87673/87673]
[root@php-dell 6]# php go-pear
X-Powered-By: PHP/4.4.9
Content-type: text/html
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/6
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] :
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote)
Parse error: syntax error, unexpected T_STRING, expecting ')' in /tmp/6/temp/PEAR.php on line 1056
Подскажите, как побороть проблему?
Файла /tmp/6/temp/PEAR.php даже нет, чтобы глянуть, что там не так
