Need logs.
White screen is normal, You happen to be broadcasting a file to the browser.
$dompdf->stream('/var/www/hello.pdf');
of course it did not help if you spend a moment and look into this with dompdf, it is possible to know what does the function stream
/**
* output the pdf code, streaming it to the browser
* the relevant headers are set so that hopefully the browser will recognise it
*/
function stream($options = ")
if you want to save the file on the server, then after the render call:
/**
* Returns the PDF as a string
*
* The file will open a download dialog by default. The options
* parameter controls the output. Accepted options are:
*
*
* 'compress' = > 1 or 0 - apply content stream compression, this is
* on (1) by default
*
*
* @param array $options options (see above)
*
* @return string
*/
public function output($options = null)
and then have to keep this thing on the server