Re: PHP-5.2.3 and "Internal Server Error"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/18/07, Paul Scott <pscott@xxxxxxxxx> wrote:

On Tue, 2007-07-17 at 18:06 -0500, Richard Lynch wrote:
> Run the same script with php CLI and see what it outputs.
>

Goes through without a problem.

> Open the script in various editors to be sure there's no stray
> un-printable character in the source.
>

Checked. This is from one of our releases, so it has been checked, but I
have now re-checked and all seems OK.

> Set error_reporting to E_ALL.
>

It always is on our test and development boxes.

--Paul


All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


   First of all, I'll apologize for my useless reply yesterday
morning.  I replied in haste (first thing in the morning) without
really even reading your message, where you explicitly said that you
had read the Apache logs.
       Dan Brown: 0, Mental Retardation: 1

   Secondly, check to make sure the script is owned by a non-root
user.  While it should kick out a message saying that execution of the
script is "denied by server configuration," it may instead report a
standard Perl-esque "premature end of script headers."

   Third, check your php.ini file, since you said you just upgraded,
to see what, if anything, is set in the `default_mimetype` flag.  Also
check your `output_buffering` and `auto_*_file` flags (where * =
prepend/append).

   Hope that helps to at least narrow down some possibilities.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux