Re: What's up with pear?
| From: | Till Dawn | Date: | Wed, 12 Feb 2003 20:22:44 +0000 |
| Subject: | Re: What's up with pear? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3726@lists.php.net to get a copy of this message | ||
> It would be great, if you could provide the output of go-pear
> so that I am able to see where exactly the problem occurs.
>
OK now the most detailed Error-description I'm able to do.
I'm running Win2000, with php 4.3 as module on a apache 2.0.43 + mysql.
Now some important ( some maybe not ) values of my php.ini:
+++++++++
zlib.output_compression = Off
allow_call_time_pass_reference = On
max_execution_time = 30
variables_order = "EGPCS"
;auto_prepend_file =
;auto_append_file =
include_path = ".;E:\httpd\pear;E:\httpd\phplib"
doc_root = "E:\httpd\htdocs\"
user_dir = "E:\httpd\public_html\"
extension_dir = "E:\bin\php\extensions\"
enable_dl = On
allow_url_fopen = On
extension = php_curl.dll
extension = php_domxml.dll
extension = php_gd.dll
extension = php_ming.dll
extension = php_pdf.dll
extension = php_sockets.dll
extension = php_w32api.dll
extension = php_xslt.dll
session.save_path = "E:/tmp/php/sessiontmp/"
sockets.use_system_read = On
php-gtk.extensions = php_gtk_combobutton.dll, php_gtk_libglade.dll,
php_gtk_sqpane.dll
+++++++++++++
Are there some extensions, I have to enable to use go-pear? Zlib or stuff?
Some of my file-possitions
++++++++++++++++++
C:/WINNT/php.ini
C:/WINNT/system32/php4ts.dll
E:/bin/apache
E:/bin/php => set as PHP_PATH
E:/bin/php => set as PEAR_EXTENSION_DIR
E:/tmp
E:/httpd/htdocs/
E:/httpd/pear => set as PEAR_INSTALL_DIR
E:/httpd/manuals/pear/docs => set as PEAR_DOC_DIR
++++++++++++++++++
I don't know if this does any difference but I have my apache set up with
name-based Virtual-hosts. One of them is admin.deltaquadrant.tld under which
i installed the go-pear.php. This VH has following apache settings:
++++++++++++++++++
<VirtualHost 192.168.0.1>
DocumentRoot "E:/httpd/htdocs/admin"
ServerName admin.deltaquadrant.tld
ServerAlias admin.deltaquadrant.tld
ServerAdmin admin@admin.deltaquadrant.tld
ErrorLog "E:/logs/apache/admin.deltaquadrant.error.log"
CustomLog "E:/logs/apache/admin.deltaquadrant.access.log" common
<Directory "E:/httpd/htdocs/admin">
ServerSignature on
Options All
AllowOverride All
Order deny,allow
Allow from 127.0.0.1
authUserFile "E:/auth/admin.deltaquadrant.htpasswd.pwd"
authGroupFile "E:/auth/admin.deltaquadrant.htgroup.pwd"
</Directory>
</VirtualHost>
++++++++++++++++++
And the go-pear settings
Installation prefix = E:\httpd\htdocs\admin\go_pear
Binaries directory = $prefix
PHP code directory = $prefix\PEAR
Documentation base directory = $php_dir\docs
Data base directory = $php_dir\data
Tests base directory = $php_dir\tests
PEAR Installer cache directory = $php_dir\cache
Cache TimeToLive = 300
Which leads to following error:
++++++++++++++++++
Starting installation ...
Downloading package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt....ok
Downloading package: XML_RPC..........ok
Downloading package: Pager............ok
Downloading package: HTML_Template_IT....ok
Downloading package: Net_UserAgent_Detect....ok
Downloading package: PEAR_Frontend_Web....ok
Bootstrapping: PEAR...................ok
Bootstrapping: Archive_Tar............ok
Bootstrapping: Console_Getopt.........ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Extracting installer.................. Invalid checksum : 38744 calculated,
2826 expected
Warning: unlink(C:\\WINNT\\TEMP\gop3CD.tmp\PEAR) [function.unlink.html]:
Permission denied in E:\httpd\htdocs\develop\admin\go_pear\go-pear.php on
line 793
Warning: rmdir(C:\\WINNT\\TEMP\gop3CD.tmp) [function.rmdir.html]: Directory
not empty in E:\httpd\htdocs\develop\admin\go_pear\go-pear.php on line 797
+++++++++++++++++++++++++
How and why is go-pear trying to unlink something in my WINNT directory? On
the other hand didn't I configure him to use the path set under "PEAR
Installer cache directory"?
I hope this error-report can help you. However, why is there a checksum
anyway? Is it for security reason? If so may I switch it of?
Your Till Dawn