PEAR-Installation with go-pear
| From: | Glemnitz, Wolfgang | Date: | Tue, 26 Nov 2002 13:20:51 +0000 |
| Subject: | PEAR-Installation with go-pear | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2841@lists.php.net to get a copy of this message | ||
Hi,
system w2k sp3, apache 1.3.27, php 4.2.3,
go-pear from http://dickmann.homeunix.org/pear/go-pear.html
i have a problem with Temp-Dir.
Warning: OpenDir: Invalid argument (errno 22) in g:\webroot\go-pear.php on
line 784
I have adding printmessage
314 $ptmp = tempnam(tmp_dir(), 'gope'); print "Temp Stuff $ptmp\n";
315 rm_rf($ptmp); print "rm_rf $ptmp\n";
316 mkdir_p($ptmp, 0700); If (mkdir_p){print "Directory $ptmp\n";};
317
318 $ok = @chdir($ptmp);{print "Directory ok? $ok\n";}; sleep(30);
783 if (@is_dir($path)) { print "The path for opendir: $path";
784 $dp = opendir($path);
Then run go-pear
Starting installation ...
Temp Stuff C:\\TEMP\gop26.tmp
rm_rf C:\\TEMP\gop26.tmp
Directory: C:\\TEMP\gop26.tmp
Directory ok? 1
30 sec pause (in the Explorer is File under C:\temp\gop26.tmp present, then
The path for opendir: C:\\TEMP\gop26.tmp
Warning: OpenDir: Invalid argument (errno 22) in g:\webroot\go-pear.php on
line 784
Warning: readdir(): supplied argument is not a valid Directory resource in
g:\webroot\go-pear.php on line 785
Warning: closedir(): supplied argument is not a valid Directory resource in
g:\webroot\go-pear.php on line 796
Warning: rmdir() failed (No such file or directory) in
g:\webroot\go-pear.php on line 797
and the File gop26.tmp is deleted. ?
Whats wrong?
Where is the 'e' from 'gope'
Wolfgang Glemnitz