upgrade problems, php 4.0.3 to 4.2.2 on windows 2000 server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
localgareth
Forum Newbie
Posts: 3
Joined: Fri Sep 06, 2002 9:34 am
Location: Sheffield, UK

upgrade problems, php 4.0.3 to 4.2.2 on windows 2000 server

Post by localgareth »

hello

i've just upgraded my php version from 4.0.3 to 4.2.2 on windows 2000 using IIS5 as my webserver.

now, on every page where i have require("/www/something.php"); i get the following error...

Code: Select all

Fatal Error: Failed opening required 'blah blah' (include_path='.;c:\php4\pear') in 'blah blah' on line X
i'm a bit of a newbie, but have searched the boards and checked out some posts. the only one i found with similar problems was http://www.devnetwork.net/forums/viewto ... de+problem. but i didn't understand the solution offered by llimllib.

can anyone help?

thanks


gareth.
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

try checking bug reports on http://www.php.net
localgareth
Forum Newbie
Posts: 3
Joined: Fri Sep 06, 2002 9:34 am
Location: Sheffield, UK

Post by localgareth »

tried that :(

can't find anything, incidentaly, it must be a reasonably common problem because doing a search on Google.com for something like 'fatal error c:\php4\pear' eg... http://www.google.com/search?hl=en&ie=I ... gle+Search brings loads of websites actually suffering the problem.

anyone else got an idea? i don't want to switch back to 4.0.3

thanks


gareth
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

In "php.ini" what is your "doc_root" set to?
localgareth
Forum Newbie
Posts: 3
Joined: Fri Sep 06, 2002 9:34 am
Location: Sheffield, UK

Post by localgareth »

"doc_root" is empty.

i'm running IIS.


gareth.
Post Reply