Newbie - Internal Server Error when using fopen()

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I just installed  php and Apache 2.0.55 on WXP5.1sp2.

Everything seems to work fine, but when I use fopen(), file(), etc., I get an error.

Browser returns:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."

On the server, a window pops up saying
"PHP Script Interpreter has encountered a problem and needs to close. "

The error_log file reports: "[error] Premature end of script headers: php.exe"

I am running the server from my ordinary ADSL connection with only port 80 open. Could that be the problem?
How do I verify?

Any help greatly appreciated!

Re: Newbie - Internal Server Error when using fopen()

Marsel wrote:

Quoted text here. Click to load it

looks like the user that starts/runs the web SERVER does not have access to  
READ/WRITE the file you are trying to open.
Also make sure that you uncomment the proper items in your PHP.INI file. (read  
the installation/configuration instructions)

Michael Austin.
DBA Consultant
Donations welcomed. Http://

Site Timeline