Try adding C:\php\pear into the include_path.
ini_set('include_path', ini_get('include_path').';
Main Topics
Browse All TopicsI'm getting this error in a script on Server 2003 with PHP 5.2 in IIS6.
Fatal error: require_once() [function.require]: Failed opening required 'HTTP/Request.php' (include_path='.;C:\php5\p
I believe it's a configuration issue because the script works on an XP machine I have been developing on. I confirmed that HTTP::Request is installed with Pear. The problem is the when I search php.ini, there is no reference to php5 anywhere. My PHP is installed in c:\php. Any help would be greatly appreciated.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
jk2001-
Your method works fine if I add that to the script above the "require" call, but I need this work with a configuration update, not a scripting update. Any thoughts? Here is my include variable from the php.ini file:
include_path = "C:\php\pear"
I should probably also mention that Pear added the following after it was installed:
;***** Added by go-pear
include_path="C:\php\pear"
;*****
The curious thing is that the error is referencing php5 in the path, but there is no mention whatsoever of a php5 directory in the php.ini file.
Business Accounts
Answer for Membership
by: lorenwwPosted on 2006-12-20 at 16:57:44ID: 18177726
I see 'HTTP/Request.php'
what is happening is that the script is looking for a directory (in relation to the script which would be the www dir) called HTTP and within that directory it is looking for the script Request.php (these are case sensitive).
I suspect it is a configuration issue, look to see where Request.php is located and set your path accordingly that should fix your problem.