我正在尝试安装php7.3-gd扩展。
当我尝试的时候:sudo apt-get install -y php7.3-gd
我收到输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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
我尝试在GD上安装PHP5库:
sudo apt-get install php5-gd
下一首,
sudo service apache2 restart
之后,当尝试运行任何PHP解析页面时,会出现一个保存对话框。
你可以看到截图:
我试过运行phpinfo.php页面,但同样的问题:
P.S . :
$ php -i | grep -i --color gd
gd输出测试结果:
PHP Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *require
我想使用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')
我正在尝试通过WP-CLI重新生成所有媒体,下面的命令如下:
wp media regenerate --yes
不幸的是,它返回了错误:
No support for generating images found. Please install the Imagick or GD PHP extensions
然后我安装Imagick和GD扩展,但这对我没有帮助。有什么想法吗?
输出命令php -m
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
hash
iconv
imagick
我正在尝试添加一些功能的PHP GD安装。我使用Docker PHP“官方”版本作为基础(php:7.1.15-fpm-jessie)。
我当前的生产环境使用CentOS,它的GD模块支持FreeType、JPEG和PNG,您可以在phpinfo输出中看到:
GD Support => enabled
GD headers Version => 2.2.5
GD library Version => 2.2.5
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Versio
我试图使用运行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
我试图在图像上输出文本,但页面加载为空白,并且在设置错误报告时出现以下错误。你知道它为什么要这么做吗?我该怎么解决它?
PHP message: PHP Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /var/www/gd-text/index.php on line 13
PHP message: PHP Warning: imagettftext() expects parameter 1 to be resource, boolean given in /var/w
我试图使用作曲家在wordpress插件中自动播放我的类。
我希望我的模型和控制器驻留在GD命名空间中,但是我想将我的模型和控制器放到它们自己的目录中。
我面临错误信息:致命错误:Class 'GD\ShortcodeController' not found in /.. .../src/GD/App.php on line 10
目录/文件结构
plugins
gd
cache
// location for twig template cache
public
// location
经过一段时间后,当尝试分析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
litingjun@litingjun-All-Series:/etc/php5/cli/conf.d$ php -a
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/gd.so' - /usr/lib/php5/20121212/gd.so: undefined symbol: gdImageCreateFromGd2Part in Unknown on line 0
litingjun@litingjun-All-Series:/etc/php5/cli/c
"PHP模块gd:缺失“我收到了这样一个错误。我正在尝试安装php5-gd。
apt-get install php5-gd
我正在使用Ubuntu16.10和PHP版本7,我做了所有的更新。
当我试图安装php5-gd时,出现了如下所示的错误。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-gd is not available, but is referred to by another package.
Thi