mr_badger Posted April 28, 2007 Share Posted April 28, 2007 I'am getting this message when trying to view a page. Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\php\QuickForm.php on line 22 Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.;C:\php5\pear') in C:\wamp\php\QuickForm.php on line 22 Any ideas on what to do? I can't find PEAR.php on my computer. Quote Link to comment Share on other sites More sharing options...
ignace Posted April 28, 2007 Share Posted April 28, 2007 normally your PEAR.php file should be in C:\php5\pear, if it is not in that directory, then you can obtain a copy from http://pear.php.net, if you would like to set the pear directory somewhere else, use: $my_path = 'your/path/to/pear/folder'; // no trailing slash $incl_path = ini_get('include_path'); ini_set('include_path', $incl_path . PATH_SEPERATOR . $my_path); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.