I can't install PEAR, please help.
| From: | amelling | Date: | Sun, 20 Feb 2011 05:49:30 +0000 |
| Subject: | I can't install PEAR, please help. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30960@lists.php.net to get a copy of this message | ||
I am running Windows 7 64 bit.
I have installed Apache 2.2, php 5.3.5 and mysql 5.1.55 and
been using them without problems for a while.
I decided to try out PEAR.
********************************************
C:\>cd php
C:\PHP>go-pear.bat
PHP Deprecated: Directive 'register_globals' is deprecated
in PHP 5.3 and great
er in Unknown on line 0
Deprecated: Directive 'register_globals' is deprecated in
PHP 5.3 and greater in
Unknown on line 0
phar "C:\PHP\PEAR\go-pear.phar" does not have a signaturePHP
Warning: require_o
nce(phar://go-pear.phar/index.php): failed to open stream:
phar error: invalid u
rl or non-existent phar "phar://go-pear.phar/index.php" in
C:\PHP\PEAR\go-pear.p
har on line 1236
Warning: require_once(phar://go-pear.phar/index.php): failed
to open stream: pha
r error: invalid url or non-existent phar
"phar://go-pear.phar/index.php" in C:\
PHP\PEAR\go-pear.phar on line 1236
Press any key to continue . . .
*************************************
Next I downloaded the file http://pear.php.net/go-pear ,
renamed it to go-pear.php and ran it.
It repeatedly ceased at 40%
Deprecated: Function ereg() is deprecated in
C:\PHP\go-pear.php on line 1406
Starting installation ...
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote)
Deprecated: Assigning the return value of new by reference
is deprecated in C:\PHP\temp\PEAR.php on line 563
Deprecated: Assigning the return value of new by reference
is deprecated in C:\PHP\temp\PEAR.php on line 566
ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok
Extracting installer..................
Downloading package: PEAR.............
Deprecated: Function eregi() is deprecated in
C:\PHP\go-pear.php on line 1080
ok
Downloading package: Structures_Graph....
Deprecated: Function eregi() is deprecated in
C:\PHP\go-pear.php on line 1080
Error while opening
{C:/PHP/temp/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html�
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��������
;��} in write binary mode
Warning: unlink(C:\PHP/temp\Structures_Graph-1.0.4.tgz)
[function.unlink]: Permission denied in C:\PHP\go-pear.php
on line 1230
Warning: rmdir(C:\PHP/temp) [function.rmdir]: Directory not
empty in C:\PHP\go-pear.php on line 1237
*******************************************************
How should I install PEAR for use with PHP 5.3.5 on Windows?