RE: [Newbie] Installing PEAR by hand via FTP && Why does go.pear.php fail with me?

From: Date: Thu, 16 Feb 2012 05:24:20 +0000
Subject: RE: [Newbie] Installing PEAR by hand via FTP && Why does go.pear.php fail with me?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31419@lists.php.net to get a copy of this message
Really great help this list is.. No wounder such a lousy support reflects also such a lousy troubleshooting to begin with! Prefix set to /home/username/files/webpear FTP reveals, it creates the folder and some subfolders, but then hangs??? > Starting installation ... > Loading zlib: ok > > Bootstrapping Installer................... > Bootstrapping PEAR.php............(remote) > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > > > > > An Exception Has Occurred > > > > Unknown location: /pear/pear-core/branches/PEAR-1.9.4/PEAR.php > > > > HTTP Response Status > > > 404 Not Found > > > > > > > > > ok > Bootstrapping Archive/Tar.php............(remote) > Next I've tried to install it by hand. I uploaded PEAR MAIN package and its dependencies into a folder via FTP And call it each time with set include path from a php page. I also miss something: How do I add packages at the correct subfolder level so that PEAR can use them?? I ran the System.php and it returned TRUE. When do I know that PEAR is working fine and how can I use packages?? JON <?php $mein ='/home/username/files/pear'; set_include_path(get_include_path() . PATH_SEPARATOR . $mein); echo get_include_path(); require_once 'System.php'; include(' Mail.php'); //print ("Hello PEAR World.!"); //var_dump(class_exists('System', false)); // returned TRUE $recipients = 'xyzfounder@aol.com'; $headers['From'] = 'xyzfounder@aol.com'; $headers['To'] = 'xyzfounder@aol.com'; $headers['Subject'] = 'PEAR Test message'; $body = 'Test message'; // Create the mail object using the Mail::factory method $mail_object =& Mail::factory('mail'); $mail_object->send($recipients, $headers, $body); print ("Done."); ?> -- *** Sent via Ubuntu/Linux ***

« previous php.pear.general (#31419) next »