#25298 [Opn->Csd]: go-pear.bat install doesn't find php.ini

From: Date: Fri, 05 Mar 2004 22:07:32 +0000
Subject: #25298 [Opn->Csd]: go-pear.bat install doesn't find php.ini
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26148@lists.php.net to get a copy of this message
ID: 25298 Updated by: pajoye@php.net Reported By: danielc at analysisandsolutions dot com -Status: Open +Status: Closed Bug Type: PEAR related Operating System: Win32 PHP Version: 5CVS-2003-08-28 (dev) Assigned To: pajoye New Comment: Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2003-08-29 00:25:16] cellog@php.net this is ridiculously simple to fix. Here are the contents of go-pear.bat: @ECHO OFF set PHP_BIN=cli\php.exe %PHP_BIN% -n -d output_buffering=0 PEAR\go-pear.php pause The -n option is documented as -n No php.ini file will be used remove this and it works. It has absolutely nothing to do with spaces in paths. Regards, Greg P.S. Where is go-pear.bat in CVS? ------------------------------------------------------------------------ [2003-08-28 20:59:24] cjbj at hotmail dot com I found that go-pear.bat did not like spaces in paths. I had to choose another base directory to get it to work. This was on W2K using a go-pear.php 1.47 I pulled last week on top of my base PHP 4.3.2. ------------------------------------------------------------------------ [2003-08-28 11:57:28] danielc at analysisandsolutions dot com Description: ------------ 1) Used go-pear.bat last night at 2003-08-28 00:00 hours, EDT (-0400) 2) Put in my own custom "Installation prefix" of "C:\Program Files\pear" 3) System correctly found "php.exe path" to be "C:\PROGRA~1\php\cli\php.exe" 4) Near the end of the install, the "include_path defined in the currently used php.ini does not contain the PEAR PHP directory" warning message came up. It did not find my php.ini file. In case it matters: * I'm running PHP 5.0.0b2-dev (cli) (built: Aug 26 2003 16:10:26) * The PEAR/go-pear.php file version is: $Id: go-pear,v 1.48 2003/08/12 21:44:02 pajoye Exp $ Expected result: ---------------- Current include path : .;c:\progra~1\pear Configured directory : C:\Program Files\pear\pear Currently used php.ini (guess) : c:\progra~1\php Actual result: -------------- Current include path : .;c:\php4\pear Configured directory : C:\Program Files\pear\pear Currently used php.ini (guess) : ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25298&edit=1

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