I'm Getting this when I load a file from any directory.
`Fatal error: Uncaught Dompdf\Exception: Permission denied on /pdfhtml.html. The file could not be found under the directory specified by Options::chroot. in C:\xampp\htdocs\dompdf\src\Dompdf.php:366 Stack trace: #0 C:\xampp\htdocs\dompdf\src\Dompdf.php(333): Dompdf\Dompdf->loadHtmlFile('/pdfhtml.html') #1 C:\xampp\htdocs\pdf.php(16): Dompdf\Dompdf->load_html_file('/pdfhtml.html') #2 {main} thrown in C:\xampp\htdocs\dompdf\src\Dompdf.php on line 366
I have seen that you've told us to change the setting DOMPDF_CHROOT. But where do I find and change this setting.
In my file I've written
$options->set('chroot', 'C:\xampp\htdocs');
Still it shows this error.
Please guide me where should i change the DOMPDF_CHROOT setting.
I did a CTRL+F on Dompdf.php, and it showed no matches found.