【问题标题】:Upgrading Ghostscript from v9.07 to 9.22将 Ghostscript 从 v9.07 升级到 9.22
【发布时间】:2018-01-04 10:31:07
【问题描述】:

我的服务器是 CentOS,我正在尝试通过 composer 使用这个库:

https://github.com/imalhasaranga/PDFLib

但是我收到以下错误消息:

Fatal error: Uncaught Exception: Your version of GhostScript 9.07 is not compatible with the library

如何更新服务器上的 Ghostscript 版本,以便可以与 PHP 一起使用?

【问题讨论】:

    标签: php linux ghostscript


    【解决方案1】:

    您可以查看 CentOS 是否有更新的软件包(可能没有),您可以尝试从 ghostscript.com 获得的预构建二进制文件。如果两者都不成功,则需要从源代码构建 Ghostscript。

    要做到这一点,您需要安装有效的 C 编译器 (gcc) 和自动工具。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-07-22
      • 2018-04-23
      • 2016-12-19
      • 2018-01-30
      • 2018-08-11
      • 2020-11-05
      • 2020-05-17
      相关资源
      最近更新 更多