作曲家MPDF升级实际上没有做任何事情
我刚刚升级为PHP 7.4,并在许多第三方PHP应用程序中遇到了卷曲括号问题。升级它们非常容易,直到我击中使用作曲家安装的MPDF。
到目前为止,我已经花了一天的时间了,我终于达到了如果我跑步...
composer.phar require mpdf/mpdf dev-php8-support
作曲家说它已升级了MPDF,但是卷曲括号错误尚未解决,调查显示实际上,/供应商/MPDF/MDPF文件夹中的任何文件都没有更改。
作曲家似乎什么也没做。
关于如何使它起作用的想法已经用完了。
虽然MPDF官方页面具有安装指南,但甚至没有提及升级。
有人有任何可能发生什么的线索吗? ...或者甚至更好 - 如何仅下载和替换PHP文件? (这比在中间软件包中弄乱仅将几个文件复制到服务器上要简单得多)
编辑:只是证明作曲家实际上并没有做任何事情,我删除了 /vendor /mpdf文件夹,然后
composer.phar require mpdf/mpdf
再次运行,然后再运行。未创建新 /供应商 /MPDF文件夹。
I just upgraded to PHP 7.4 and encountered the curly braces problem with a number of third party PHP applications. It was easy enough to upgrade them until I hit MPDF which was installed using Composer.
I've spend a day on it so far and I've finally reached the point where if I run ...
composer.phar require mpdf/mpdf dev-php8-support
Composer says it's upgraded MPDF, but the curly braces error has not been fixed and investigation shows that in actuality, none of the files in the /vendor/mpdf/mdpf folder have changed.
Composer appears to have done nothing.
I've run out of ideas as to how to get this to work.
While the official MPDF page has an installation guide it doesn't even even mention upgrading.
Does anyone have any clues as to what might be going ? ... or perhaps even better - how to just download and replace the PHP files? (which would be infinitely simpler than messing around with an intermediate software package just to copy a few files onto a server)
EDIT: Just to prove that composer isn't actually doing anything I deleted the /vendor/mpdf folder and ran
composer.phar require mpdf/mpdf
again and a new /vendor/mpdf folder wasn't created.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案:
哦,...
Solution:
oh and ...