Re: Premature end of script headers

[email protected] ("Daniel Brown")
Newsgroups php.mirrors
Message-ID <[email protected]>
On Thu, Jul 31, 2008 at 1:48 AM, Serz Kozlov <[email protected]> wrote:
> Hello. I watched logs and found some errors:
>
> [Thu Jul 31 01:55:10 2008] [error] [client 65.55.211.121] Premature end of
> script headers: ref.cpdf.php
> [Thu Jul 31 01:55:10 2008] [error] [client 65.55.211.121] File does not
> exist: /home/phpmirror/domains/php.frnet.ws/public_html/500.shtml
> [Thu Jul 31 01:55:10 2008] [error] [client 65.55.211.121] SoftException in
> Application.cpp:245: File
> "/home/phpmirror/domains/php.frnet.ws/public_html/manual/zh/ref.zlib.php" is
> writeable by group
>
> I've checked pages and I see correct pages.
> Is it important to check this error logs?

    It could've just been a temporary glitch on your mirror, Serz.  It
loaded fine for me, as well.  However, the page that caused the script
headers error (http://ru2.php.net/manual/zh/ref.cpdf.php) is all about
deprecated functions anyway.  So even if there's a consistent problem
with that page - if it's only that page - there's not much to worry
about.

    The 404 on your missing 500.html page is just because you don't
have an error page to handle HTTP 500 (Internal Server Error) codes.
You can place a file in the spot in which Apache is looking,
reconfigure Apache, or ignore it altogether.  No harm will be done to
your system by just leaving it as-is.

    The final message you quoted from the log means that the file
mentioned has a second-bit setting with a +2.  This means the middle
number is a 2, 3, 6, or 7 when you chmod the file.  For example: 777,
660, 720, et cetera.  You can simply change the permissions on that
file, if you're concerned, to 644.  For more information on all of
this, just Google 'UNIX file permissions'.

    All in all, it looks as though everything is operating as it
should.  Keep up the good work!

-- 
</Daniel P. Brown>
Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.