Welcome to WebmasterWorld Guest from 18.104.22.168
And suddenly started getting this error (in the apache error log):
[Sat Sep 06 08:40:32 2003] [error] [client 127.0.0.1] PHP Fatal error: Unable to open c:\DIR1\SUBDIR/phppage.php in Unknown on line 0
This is really baffling me - any help would be really appreciated! It used to work and now it doesn't...
I even tried changing the doc_root setting in the php.ini file (in C:\WINDOWS\) but again without any luck
The funny thing is it use to work OK and it works OK if I put it back to
Apache is fine, but any php pages come back blank and create the entry above in the apache error log.
.... There must be a setting I'm missing somewhere.
I have changed my %SYSTEMROOT%/php.ini file to the following:
; The root of the PHP pages, used only if nonempty.
doc_root = "c:\DIR1"
And I've since turned errors on and off in this file and those changes took effect so it must have read in this change too...
I was trying to access a .php page that didn't exist. I was sure I'd copied my example.php file over but obviously not... strange though because instead of getting a 404 I just got a blank page and the strange PHP error in the Apache Error Log.
I'm really quite embarrassed.... oops.
Can I stop it doing this and make it go back to fiving me a nice 404 if the php page doesn't exist?