-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please update wkhtmltopdf to version 0.12.5 #38
Comments
Any progress on this update? |
It looks like this was done (#39) but there has been no release with this update yet. |
Please! |
Yes, please. :) |
@h4cc It would be great to upload the last version |
@h4cc are you still alive, mate? |
It looks like this was not done. |
It seems that this repository is not maintained anymore, I had to create my own package for updated binaries, you can find it here: https://github.com/michael-schaefer-eu/wkhtmltox https://packagist.org/packages/michael-schaefer-eu/wkhtmltox Note: it contains four binaries (wkhtmltopdf and wkhtmltoimage, each amd64 and i386 architectures) and they are compiled only for ubuntu bionic 18.04 |
@michael-schaefer-eu |
@hanovruslan I added it, thanks for the hint. |
oh,I need 0.12.5 |
for anyone looking for a drop-in replacement (using the debian stretch binary), i forked and made a package on packagist (64-bit only) |
I just send him a tweet https://twitter.com/MisterDeviling/status/1221788785148678152, maybe he does not have time/interest for this project and will look for maintainers... |
👍 to upgrade to 0.12.5 edit: 0.12.6-dev branch has been available for awhile now and fixes some bugs. Having that available via composer would be great too https://builds.wkhtmltopdf.org/0.12.6-dev/ |
You can include 0.12.5 by adding this to your composer.json:
This will include the version from this pull request #37 |
Hi. This works great on systems <Ubuntu 19.10 As you know WKHTMLTOPDF depends on some libraries. The ones that give more problems are: libjpeg.so In Ubuntu 19.10 the library dependencies have changed and the ones indicated in this package 0.12.5 "no longer work" (except that you install the dependencies yourself) When you try to work with a PHP application in a hosting where you cannot execute APT commands, it is very important that the binary is compatible with the libraries installed in the system (share hosting). In my case, this binary seems to request these libraries: In ubuntu 19.10 and 20.04 and Debian9 and Debian10 libjpeg v8 does not appear in the repositories. Thanks to the binary that @thejacer87 (#38 (comment)) has uploaded now wkhtmltopdf is working on the latest linux distros with this libraries. We should try to keep these binaries as possible for the latest distros. Is it true that the latest stable version is still 0.12.5? Greetings to all! |
This commit does not work on ubuntu 20.04 or debian9 because it uses libjpg v8. This library is deprecated in these systems. A greeting! |
Hi @ciltocruz. I recently tried to migrate from debian8 to debian9 and stopped because I couldn't install the libjpg v8 library. What is the solution you recommend for debian9 if I want to use wkhtmltopdf 0.12.5 ? |
Hello @VincentLanglet It is not the best solution. In fact I wouldn't call it a solution. The problem that I had was in a Debian9 in a shared hosting. Then I have incorporated in my project the "binary" obtained here: I have run my app and it seems to work. The difference with the binary that it had before is that the previous one was v0.12.5 but with libjpg v8 and it was a static binary (application/x-executable) and now it is the same version v0.12.5 but running modern libraries (libjpg.so.62 ) and is no longer application/x-executable. It is now application/x-sharedlib. I don't know if this will be a problem for the application I'm running ... Greetings and I hope it is worth it. |
Thanks, I wanted to be sure to understand you correctly. I have tried
without success. I'll follow your recommendation and try again with https://packagist.org/packages/silvertipsoftware/wkhtmltopdf-amd64 then. |
Correct. However, I would like to know if an executable static binary can be created with that particular version. |
https://wkhtmltopdf.org/downloads.html
The current stable series is 0.12.5, which was released on June 11, 2018
Thanks.
The text was updated successfully, but these errors were encountered: