For windows my solution was to add your root directory with setChroot:
$dompdf->getOptions()->setChroot('d:\\www');