I\'m having some issues to debug this in php. When I include this line:
require_once(\"http://\" . $_SERVER[\"HTTP_HOST\"] . \"/dompdf/dompdf_config.inc.php\");
The parameter to the require_once statement should be a file path, not a URL.
require_once
You are telling the web server to import a file from the file system, not the client to import the file from the web.
It is documented on the include statement page.