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

Your name:

Reply:


Posted by Marsel on 09/28/57 11:40

On Sun, 19 Feb 2006 13:06:16 +0100, "J.O. Aho" <user@example.net> wrote:

>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

Thanks, Aho,

You're right, I reinstalled a version 4.3.9 and everything works just fine now.
Seems stable, but I know I should take look at Linux at some point. It was just
too much to grasp at this point, had to get the server up fast.

Another question, not sure where to post it, so I'll try here:
Now that the site is up and running I would like to see it on the web (not locally,
because some pages are integrated on 3rd party pages).
This does not seem possible through the router, only when I establish a new
modem connection. Firewall confusion? Any fix?

/Marsel

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация