NYCPHP Meetup

NYPHP.org

[nycphp-talk] using PHP to import large-ish SQL into mysql

Glenn Powell glenn310b at mac.com
Wed Oct 21 20:34:17 EDT 2009


I remember seeing "Premature end of script headers" with
Perl scripts when I mistakenly ftp'd them to the server in binary
mode instead of ascii mode.  Drove me crazy, and I knew better
than to do that, I just overlooked the mode when I uploaded.

Glenn

On Oct 21, 2009, at 6:48 PM, Daniel Convissor wrote:

> Hi Marc:
>
>> Sorry...I made a typo there.  I  meant that the script is terminating
>> with a 500 Error (NOT a PHP error)...which means there is no log or
>> useful error trail.  All I see in the error_log is the dreaded
>> "Premature end of script headers" error.
>
> By saying the log shows "premature end of script headers," I assume
> you're talking about Apache's error log, right?  What does PHP's error
> log show?  See the log_errors and error_log settings in php.ini to  
> learn
> if it's on and where the log is.
>
> --Dan
>
> -- 
> T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>            data intensive web and database programming
>                http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation




More information about the talk mailing list