You are here: Re: Newbie - Internal Server Error when using fopen() « PHP Programming Language « IT news, forums, messages
Re: Newbie - Internal Server Error when using fopen()

Posted by Michael Austin on 10/29/01 11:40

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?
>
> Any help greatly appreciated!
> /Marsel

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://www.firstdbasource.com/donations.html
:)

 

Navigation:

[Reply to this 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

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