【问题标题】:Install and execute Wkhtmltopdf on linux Redhat server 64bit (using PHP)在 linux Redhat server 64bit 上安装并执行 Wkhtmltopdf(使用 PHP)
【发布时间】:2012-10-06 13:36:01
【问题描述】:

我使用的是 Linux Redhat 64bit。我的服务器信息是

Linux ************* 2.6.18-238.5.1.el5xen #1 SMP Mon Feb 21 06:01:41 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

要创建 PDF,我使用的是 Wkhtmltopdf。

所以首先我安装了 wkhtmltopdf-0.9.9-static-amd64.tar.bz2 当我执行命令时。它显示 segmentation fault 错误。

所以我重新安装了 wkhtmltopdf-0.9.9-static-i386.tar.bz2,它显示 wkhtmltopdf: symbol lookup error: wkhtmltopdf: undefined symbol: FcFreeTypeQueryFace 错误。

我该如何解决这个错误?任何解决方案

【问题讨论】:

    标签: php linux redhat wkhtmltopdf shell-exec


    【解决方案1】:

    这很可能是关于 fontconfig 的 Qt 起源错误,它(或非常类似的问题)是 reported in the wkhtmltopdf issues list and there is a workaround/fix there,您可以尝试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-01
      相关资源
      最近更新 更多