Re: Web Install Trouble

From: Date: Sat, 14 Aug 2004 14:49:15 +0000
Subject: Re: Web Install Trouble
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14112@lists.php.net to get a copy of this message
Carl Pearson wrote:
Hi, Justin, Sorry, not sure what you mean by "put phpinfo in one of your scripts". Running it through the browser reports:
      Configuration File (php.ini) Path
     c:\program files\easyphp1-7\apache\php.ini
Further on down we see:
      include_path .;C:\Program Files\EasyPHP1-7\www\go-pear;C:\Program
Files\EasyPHP1-7\php;C:\Program Files\EasyPHP1-7\php\pear;C:\Program Files\EasyPHP1-7\php\pear\pear;C:\Program Files\EasyPHP1-7\www\pear;C:\Program Files\EasyPHP1-7\www\pear\pear;c:\winnt .;C:\Program Files\EasyPHP1-7\www\go-pear;C:\Program Files\EasyPHP1-7\php;C:\Program Files\EasyPHP1-7\php\pear;C:\Program Files\EasyPHP1-7\php\pear\pear;C:\Program Files\EasyPHP1-7\www\pear;C:\Program Files\EasyPHP1-7\www\pear\pear;c:\winnt
It looks to me that you are trying to set your include_path to [prefixstuff]/pear/pear when it should be [prefixstuff]/pear. The /pear/PEAR subdirectory is for the PEAR installer package. So, you should be doing require_once 'PEAR.php'; not require_once 'pear/PEAR.php'; in your scripts. That might fix your problem (or not, as it were - but once you get it, you'll never need to fix it again, so keep plugging away) :) Greg

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