经过一段时间后,当尝试分析Sylius插件代码时,检查器开始永久性地失败,并出现下一个错误:
- sylius/sylius v1.7.3 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- sylius/sylius v1.7.2 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- sylius/sylius v1.7.1 requires ext-gd
我试图向composer.json中添加php。由于以下错误,我希望安装php gd:
The PHP GD extension is required, but is not installed.
这个错误是由dompdf引起的,dompdf需要php gd来处理图像。我尝试了以下命令:
composer require "ext-gd:*" --ignore-platform-reqs
没有任何结果,甚至强硬的ext-gd也被添加到composer.json中。有人知道解决我问题的办法吗?提前谢谢。
我试图使用运行EC2的AWS CentOS实例部署Wordpress网站。我正在使用wordpress 5.7.2、PHP 8.0.6和Apache 2.4.46。我已经成功地建立和运行了这个网站,但是在我的网站“健康状况”中我看到了以下问题:
The required module, gd, is not installed, or has been disabled.
我知道我已经安装了gd,因为当我在实例中SSH并键入sudo yum info gd命令时,我会收到以下输出:
Loaded plugins: extras_suggestions, langpacks, prioritie
我想使用ngnix运行drupal,但是一旦我安装了Ngnix,Drupal,我就会看到:
Drupal requires you to enable the PHP extensions in the following list
(see the system requirements page for more information):
dom
gd
pdo
我有一个php脚本,显示这些模块没有加载:
<?php
$dom = extension_loaded( 'dom');
$gd = extension_loaded( 'gd')
我从我的cakephp 2.x项目中得到这个错误:
The PHP GD extension is required, but is not installed.
我在debian上使用php7.3和apache
我搜索并找到
apt-get install php7.3-gd
我试过了,但我只得到了以下错误:
E: Unable to locate package php7.3-gd
E: Couldn't find any package by glob 'php7.3-gd'
E: Couldn't find any package by regex
我想用php5.6-fpm创建一个容器,但是当我运行它的时候,PHP没有像gd和一些wordpress所需要的扩展名。我想在容器fpm中手动安装它。结果是Debian9安装在那里,我不能为E: Package 'php5.6-gd' has no installation candidate安装php5.6-gd!我尝试添加ondrej存储库,但它一点帮助都没有。
有没有其他方法可以安装php5.6-fpm的容器并添加一些扩展?
我在安装GD库时遇到问题。我使用的是带有PHP 5.2.14的IIS服务器。我在php.ini中取消了extension=php_gd2.dll的注释。
这是错误:
gd: Unable to initialize module
Module compiled with module API =20060613
PHP compiled with modlule API = 20090626
These options need to match
in Unknown on Line 0
我下载了各种PHP版本来尝试获得正确的DLL,包括线程安全的5.2.14。然后,我会重新启动应用程序池
我不确定我需要在这里问这个问题。
我试图用以下命令安装php5-gd
sudo apt-get install php5-gd
但是,系统说没有这个包
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed: php5-gd 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need