You can easily convert PDF version 1.5 to 1.4. I am currently working in the same situation when I need to convert a PDF version. I noticed in my case that the PDF created from the dompdf library is version 1.3 and I use the latest mozilla firefox, but still mozilla shows a black screen when I try to read my PDF. (black screen on any page of my multi-page PDF file, not all).
so when my dompdf generates PDF version 1.3, I will convert it to version 1.4 because 1.4 is great for my Mozilla browser and indeed for all browsers.
You can convert the PDF version using 2 methods.
1) use ghostscript command line tool
<?php exec('gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -sOutputFile=new.pdf old.pdf') ?>
2. using the PHP library specified in github. Download it from here.
I am currently working on this tool that encrypts a PDF file. It is almost ready and ready to use. Here
source share