AC1
09-12-2002, 06:58 AM
Hi
I have my website running OK on a unix server on the web, but I want to set it up on my local windows 2000 PC for testing as I currently use a dialup connection to the internet.
I am running windows 2000, PWS, php and mysql.
Everytime I call my php screens I get the error
Warning: Failed opening 'c:\inetpub\wwwroot\it_and_computing.php' for inclusion (include_path='.;C:\php4\pear') in unknown on line 0
I have tried numerous things from the php installation manual as well as looking at the mailing lists but I still can't get it working, maybe I am missing something obvious here.
I have checked all the following:
a) I have made sure the file it_and_computing.php exists in the specified directory
b) I have checked I only have 1 php.ini file in the winnt group
c) I have changed the include_path parameter in the php.ini file and the include_path in the warning message changes accordingly, so I believe it is using the php.ini file.
d) I have removed all include statements from my PHP code as this is not fully supported in windows 2000 version of php.
e) I have checked the permissions on the file and everyone can read the file
f) The calling screen and the php screen are both located in the same directory.
g)pws has execution permissions to webroot
Any ideas as to what else I could try?
Thanks in advance for any help,
Cheers
Andy
I have my website running OK on a unix server on the web, but I want to set it up on my local windows 2000 PC for testing as I currently use a dialup connection to the internet.
I am running windows 2000, PWS, php and mysql.
Everytime I call my php screens I get the error
Warning: Failed opening 'c:\inetpub\wwwroot\it_and_computing.php' for inclusion (include_path='.;C:\php4\pear') in unknown on line 0
I have tried numerous things from the php installation manual as well as looking at the mailing lists but I still can't get it working, maybe I am missing something obvious here.
I have checked all the following:
a) I have made sure the file it_and_computing.php exists in the specified directory
b) I have checked I only have 1 php.ini file in the winnt group
c) I have changed the include_path parameter in the php.ini file and the include_path in the warning message changes accordingly, so I believe it is using the php.ini file.
d) I have removed all include statements from my PHP code as this is not fully supported in windows 2000 version of php.
e) I have checked the permissions on the file and everyone can read the file
f) The calling screen and the php screen are both located in the same directory.
g)pws has execution permissions to webroot
Any ideas as to what else I could try?
Thanks in advance for any help,
Cheers
Andy
