PEAR and php.ini problem
Posted: Fri May 04, 2007 9:28 pm
Hi
I've installed a fresh copy of WAMP and installed PEAR. During the installation, it warned me that include_path needs to be set in php.ini in order for PEAR packages to work. I've first tried to run a test script to see if it will work. I got Fatal error: require_once() [function.require]: Failed opening required 'HTML/QuickForm.php' (include_path='.;C:\php5\pear'). I've changed the include_path in the php.ini file to include_path = ".:/wamp/php/PEAR". It didn't work. I've changed both php.ini files, the one in c:\wamp\php and c:\wamp\Apache2\bin and I still get the same error message. It's like I can't change the include_path. Oh and yes, I've restarted the server every time. I ran out of ideas, please help me. Thanks
I've installed a fresh copy of WAMP and installed PEAR. During the installation, it warned me that include_path needs to be set in php.ini in order for PEAR packages to work. I've first tried to run a test script to see if it will work. I got Fatal error: require_once() [function.require]: Failed opening required 'HTML/QuickForm.php' (include_path='.;C:\php5\pear'). I've changed the include_path in the php.ini file to include_path = ".:/wamp/php/PEAR". It didn't work. I've changed both php.ini files, the one in c:\wamp\php and c:\wamp\Apache2\bin and I still get the same error message. It's like I can't change the include_path. Oh and yes, I've restarted the server every time. I ran out of ideas, please help me. Thanks