problem in configuring scripts

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
astrivedi
Forum Newbie
Posts: 1
Joined: Wed Jan 01, 2003 2:37 am
Location: india
Contact:

problem in configuring scripts

Post by astrivedi »

hi friends
i find some problem in installing this script
it gives me same error in both IIS and apache server it is like below

Fatal error: Failed opening required '/home/phpshop/etc/phpshop.cfg' (include_path=''c:\php4\pear") in c:\nusphere\apache\nsdocs\phpshop\bin\index.php on line 19
and in apache it is like

Fatal error: Failed opening required '/home/phpshop/etc/phpshop.cfg' (include_path='') in c:\nusphere\apache\nsdocs\phpshop\bin\index.php on line 19

where i have php 4.2.3 version
even on my system there is no any directory like php4/pear why it shows me this error.

i found that type of error in 3-5 script and every time it gives me error on include file where all the settings r in that file is correct.
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

This is just a shot, but try reversing the slashes. You know, from "/" to "\".

Cheers,
BDKR
Post Reply