New answers tagged

0 votes

Modify the contents of php.ini in my Dockerfile

You can add your own .ini file in the conf.d folder of you php installation. i.e. /usr/local/etc/php/conf.d/my-php.ini This should replace any previous declarations and be picked up automatically. ...
codeasaurus's user avatar
-1 votes

Where can I find ready-to-use virtual machines?

For anyone stumbling upon this question in/after 2024, there is also osboxes.org with ready-to-use linux/unix VMs.
Velioc's user avatar
  • 1
1 vote

Trying to make BLOB to PDF in browser using PHP

Thanks a lot to Giacomo1968. I found out that in <object> line with metadata duplicates the data:application/pdf;base64, already in the database field. So we need just remove that part. echo &...
Hopm Mpoн's user avatar
2 votes
Accepted

Trying to make BLOB to PDF in browser using PHP

This answer on StackOverflow explains the issue. One idea of how to get the PDF is creating a PHP file that directly downloads the PDF file like this: <?php $row = mysqli_fetch_assoc($result); ...
Giacomo1968's user avatar
  • 55.6k

Top 50 recent answers are included