i'm trying to install the library Dompdf on product server without good results.
I use php 7.4 and i can't use composer. I followed the instruction found on gitHub page, i downloaded the version 2.0.1 with all dependencies. Then i moved on project folder, but when i try to launch an example like this doesn't work.
<?php
require_once 'dompdf/autoload.inc.php';
use Dompdf/Dompdf;
$dompdf = new Dompdf();
?>
The only error that i obtain is:
Failed to load resource: the server responded with a status of 500 ()
the folder struct is this: phpfiles dompdf: vendor: autoload.inc.php
Can anyone explain me how to include the library without install composer in the server? Thank You.
You can download the source code and import it in your code, here is the link link to dompdf lib