Does c:\php5\pear\PEAR.php exist?  What happens if you copy PEAR.php into c:\VuFind\web temporarily?

- Demian

From: Byron Smith [byron@webwired.com.au]
Sent: Friday, August 02, 2013 8:12 AM
To: vufind-tech@lists.sourceforge.net
Subject: [VuFind-Tech] pear error

Hi Everyone,

 

I am installing Vufind for yet another library here in Australia.  I have run into a hurdle with PHP/Pear.  I am getting the following message when opening Vufind in a web browser.

 

Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in C:\VuFind\web\index.php on line 43

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.;C:\php5\pear') in C:\VuFind\web\index.php on line 43

 

The pear install itself went without a hitch and I have made sure that the ‘include_path’ in the php.ini file is pointing to the correct path for pear and have verified that the pear modules are installed correctly.  I am really confused as to why it is even referencing ‘c:\php5\pear’ since this is not referenced anywhere in the php.ini or anywhere else that I can see. 

 

The server that this is installed on does have a number of applications running on it however I have double checked to make sure there are no other instances of php.ini.  Does anyone have any advice on how I could trouble shoot this issue?

 

Regards,

 

Byron