Re: Installing PEAR 1.3.6 on Windows

From: Date: Fri, 23 Nov 2007 22:41:07 +0000
Subject: Re: Installing PEAR 1.3.6 on Windows
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28212@lists.php.net to get a copy of this message
Joseph OShea wrote: > Where can I get CLEAR step-by-step instructions for installing PEAR 1.3.6 or higher with PHP > 4.4.4. > > I am running Windows XP Pro SP2 at home with IIS and PHP4.4.4, at work Windows 2000 Server with > IIS and PHP4.4.4. > > I do not need the latest and greatest of PHP or PEAR, I simply want to get the two to > communicate with one another to use the mail package for email authentication. Why does the basic > mailer in PHP not authenticate SMTP mail anyways?? > > Go-pear.bat does not work nor does the web based installer. > > Please provide step by step instructions for installing pear for Windows platform not unix or > linux. These steps should work with php 4.4.4 on your HOME computer: open a Dos prompt (Start -> Run -> cmd) change to the directory containing PHP (cd \php4 or cd \php-4.4.4-win32 if you chose the default extraction path) choose a PHP to use, first try the CLI (php-cli.exe and if that doesn't exist php.exe) to test, type "php-cli -v" and "php v" and use the one that exists run: php -dallow_url_include=1 -r "include 'http://pear.php.net/go-pear';" follow the instructions and install PEAR into "C:\php4\pear" with your bin_dir as "C:\php4" run "pear install -o Mail Mail_MIME" to install the Mail and Mail_Mime packages now you can copy the entire PEAR installation to the server in C:\php4 if you already have include_path defined in php.ini, be sure it has C:\php4\pear like "include_path=.;C:\php4\pear" At this point, you should also add C:\php4 to your PATH environment variable (Start -> right click on "My Computer" -> Properties button -> Advanced tab -> Environment Variables button) If you have further problems, please mail the list and CC to me. I would also like to know what you mean by "go-pear.bat does not work" as it was developed specifically on windows XP SP2 by me and works for many, many other people. You do want the latest installer, as there are security holes in older versions, and also some serious bugs that have been fixed in the latest installer. It's actually harder to install older versions. You may want to notify your bosses that all support for PHP version 4 will be discontinued by the PHP team (not PEAR) on August 8, 2007, and there are several serious security regressions fixed in PHP version 5.2.3 and newer that will affect the business should they be used to hack into the system. This, however, is not my concern - just let me know if you have any further trouble installing PEAR. Thanks, Greg

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