Page 1 of 1

pear path problem in pearcmd.php

PostPosted: 19. October 2004 11:10
by risp
Hi,

I am using windows zip version 1.4.9 of xampp. After having unpacked the dist and having run setup_xampp.bat, I have run php-switch.bat to choose php _4_

When trying to run the pear command, I get an error (could not find a certain php include file) that obviously seems related to the file php\pear\pearcmd.php that contains the following lines:

if ('C:\xarelease149\xampp\php\pear' != '@'.'include_path'.'@') {
ini_set('include_path', 'C:\xarelease149\xampp\php\pear');
}

This path is completely unrelated to any path I am using, so I guess that this path should be localized by the setup_xampp-script instead of containing a value used during the xampp-development.

As far as I can tell, the old 1.4.8 has the same problem, but another path in this file.

The problem seems to go away when I patched this file and inserted the real path to the pear lib.

Is this a bug or am I doing something in the wrong way?

Regards,
Richard