Click to See Complete Forum and Search --> : frustrated---include_path problem on PHP 4.3.3+XP(pro)+Apache2.0.47


jaivardhan
11-01-2003, 07:05 PM
Hi all:

I am trying to get PHP 4.3.3 work on Apache 2.0.47 on Windows XP (Pro, service pack1) on my Home computer.

Warning: main(): Failed opening '/wotb/externalweb/code/abc.php' for inclusion (include_path='.;c:\php4\pear') in C:\webroot\wwwfiles\wotb\site\test.php on line 9

ISN'T IT STRANGE-- I dont have any c:\php4\pear directory and this error shows that include path is (include_path='.;c:\php4\pear') . I have tried to eliminate this error, but no success.

I earnestly request you to visit
http://www.cs.odu.edu/~jkumar/phperror/phperror.txt for my full message.

Your help will be highly appreciated.
Thanks in advance.

Jai

LordShryku
11-01-2003, 07:24 PM
Well, the script you're trying is trying to include another script here ->/wotb/externalweb/code/abc.php

and the include path specified in your php.ini is this ->include_path='.;c:\php4\pear

jaivardhan
11-01-2003, 08:00 PM
Thanks LordShryku for your reply.

Refer to your answer--->
------------------------------
Well, the script you're trying is trying to include another script here ->/wotb/externalweb/code/abc.php

and the include path specified in your php.ini is this ->include_path='.;c:\php4\pear

------------------------------

I have php.ini file at C:/WINDOWS/ and you can see acopy of this ini file at http://www.cs.odu.edu/~jkumar/phperror/phini.txt . Here you can see that I have set
include_path = ".;C:\webroot\includes"

Even though my script says that include path is c:/php4/pear . Strange part is that any changes in this php.ini file doesnot get reflected, even if i delete this ini file though my script works. It seems it accees some othe ini file and i did search on my C:/ and did not find any other php.ini file