|
Posted by J.O. Aho on 02/19/06 14:06
Marsel wrote:
> I just installed php 4.4.2.2 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?
No, this ain't the problem.
I would suggest you get your hands on a unmodified php.ini and tested with it
to see if your settings are bad, if not, then I would suggest you reinstall
php, using one of the packages that provides apache/php/mysql for microsoft
would be the best idea IMHO. But I really think the best had to been switching
to an OS that does include apache/php/mysql by default, as those are a lote
better suited to run as server than microsoft.
//Aho
[Back to original message]
|