【问题标题】:WHM/CPanel 11.42.1 with PHP 5.2.17 - Installing Freetype with GDWHM/CPanel 11.42.1 和 PHP 5.2.17 - 使用 GD 安装 Freetype
【发布时间】:2014-04-23 14:24:33
【问题描述】:

我们不得不通过 EasyApache 将 Apache 更新到 2.2+,因此,我们无法通过 EasyApache 安装 PHP 5.2。

我们已经安装了 PHP 5.2.17 的独立版本(遗留模块)并手动启用了 Curl 扩展——这一切都正常工作。文件位于/home/cpeasyapache/ ~ src ~ extensions(或类似)。

但是,我们无法配置我们的许多网站验证码使用的 freetype/ttf 扩展名。我真的不知道如何最好地包含这个(或者 - 是否必须重新编译 GD)。

GD版本如下:

gd
GD Support  enabled
GD Version  bundled (2.0.34 compatible)
GIF Read Support    enabled
GIF Create Support  enabled
JPG Support     enabled
PNG Support     enabled
WBMP Support    enabled
XPM Support     enabled
XBM Support     enabled 

简而言之,我只需要将 FreeType 添加到此列表中,但由于我们使用的是降级的 PHP 版本,easy-apache 中的“勾选框”选项不再存在。

任何帮助将不胜感激!

大卫

【问题讨论】:

    标签: php whm freetype freetype2


    【解决方案1】:

    我建议你通过easyapache在你的服务器上使用自定义模块安装php 5.2,然后尝试在你的服务器上启用带有GD的freetype。

    https://documentation.cpanel.net/display/EA/Custom+Modules

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-26
      • 2014-02-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-27
      • 2015-05-22
      相关资源
      最近更新 更多