Re: Web installer

From: Date: Sat, 03 Nov 2001 10:26:59 +0000
Subject: Re: Web installer
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2526@lists.php.net to get a copy of this message
On Fri, 2 Nov 2001, Jean-Michel POURE wrote: > Hello, > > <?php > require("PEAR/WebInstaller.php"); > $installer = new PEAR_WebInstaller("/var/www/pear","/var/www/php4/pear"); > $installer->start(); > ?> > > Can anyone help me with this error message: > PEAR::WebInstaller > 06:11:42 Packages.xml.gz to old. Get new one. > 06:11:42 Packages.xml.gz could not be read. Try uncompressed one > 06:11:42 Packages.xml to old. Get new one. > 06:11:42 Packages.xml could not be read. > 06:11:42 Packages.xml could not be read. > > I am sure directories are writable by apache. > Both "/var/www/pear" and "/var/www/php4/pear" belong to php.ini. the second parameter for the constructor ($installer = new PEAR_WebInstaller()) has to be the url, where the tgz packages are located. For the time being, you can use http://pear.chregu.tv (they are updated every night..) chregu

« previous php.pear.dev (#2526) next »