Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apache server error: Premature end of script headers #61

Closed
PhenX opened this issue Dec 6, 2012 · 1 comment
Closed

apache server error: Premature end of script headers #61

PhenX opened this issue Dec 6, 2012 · 1 comment

Comments

@PhenX
Copy link
Member

PhenX commented Dec 6, 2012

Original author: zwa...@gmail.com (August 10, 2009 20:03:58)

What steps will reproduce the problem?

  1. apache server error: Premature end of script headers: php5
  2. fixed DOMPDF_PDF_BACKEND to CPDF
  3. pdflib is installed on server and should not be used

Sometimes the script crashes without any message (only the apache error log)
The debug function does not work because of casting to string problems.

Apache Linux Server with PHP 5 - not my own.

The script worked perfectly on a system, not having php pdf extension
installed!
Might it be, that dompdf tries to use php's pdf module even if the
PDF_Backend is set to CPDF?

Furthermore the script always crashes in case of a second pdf rendering!

Hopefully anyone can help!

Regards,
Michael

Original issue: http://code.google.com/p/dompdf/issues/detail?id=54

@PhenX
Copy link
Member Author

PhenX commented Dec 6, 2012

From fabien.menager on August 02, 2010 21:04:16
Thank you for these advises, the problem may come from a few differences in the configuration too, because if dompdf is configured to use Cpdf, I don't think it can use PDFlib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant