Re: PEAR, PHP 5.01, and Windows
| From: | Greg Beaver | Date: | Mon, 20 Sep 2004 18:55:18 +0000 |
| Subject: | Re: PEAR, PHP 5.01, and Windows | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14570@lists.php.net to get a copy of this message | ||
Kris Guye wrote:
Hello, I am running Windows Server 2003 with PHP 5.01. I am trying to install PEAR, but PEAR wants php.exe instead of php-cgi.exe. The version of PHP I have installed uses the php-cgi.exe file instead of the php.exe. What changes do I need to make for this to work? I have tried changing the references to php.exe in all of the PEAR files, but that hasn't seemed to work. Thanks in advance for all of your help!!!Hi Kris, You need to also change the value of php_bin in the config file. There's two ways to do this. If you can successfully run "pear help" then the best way is: C:\> pear config-set php_bin C:\path\to\php-cgi.exe Otherwise, if you can't even get the installation to work, a nice kludge is to rename php.exe to php-save.exe and name php-cgi.exe to php.exe. Then you can do the change I've suggested, and rename all of the files It would help us to help you if you provide a text log of your installation attempt using go-pear or go-pear.bat. Thanks, Greg