fix php and retrieve missing files for dompdf
make changes to PHP, so plugin can semi-work