Forum Moderators: coopster
C:\DIR1\DIR2
to
C:\DIR1
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
J
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...
So confused!
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?
Yours apologetically,
Muppet-boy