Welcome Guest, Not a member yet? Register   Sign In
Issue when combining Apache2, PHP 7.4 FPM and DomPDF
#2

Theory!

Possibly output buffering is enabled in php.
For this reason, the header set by the library is replaced by the header from the Response class.

Look in the php config for the output_buffering option. And if it's on, turn it off.

Or you can try another solution. Remove header!
PHP Code:
//in controller method
$this->response->removeHeader('Content-Type'); 
Reply


Messages In This Thread
RE: Issue when combining Apache2, PHP 7.4 FPM and DomPDF - by iRedds - 03-18-2021, 11:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB