我尝试在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
最近,每当我运行更新时,我就会收到这个错误:
Package operation failed, The installation or removal of a software package failed.
Details:
installArchives() failed: (Reading database ...
(Reading database ... 323998 files and directories currently installed.)
Preparing to unpack .../libgbm1_10.6~git1504210730.700463~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中。有人知道解决我问题的办法吗?提前谢谢。
我尝试使用gitlab ci/cd将laravel项目部署到linux服务器,发现了以下问题:
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
嗨,我的composer.json中有下面的依赖项
"require": {
"gd": ">=2.0.28",
"ext-gd": "*"
}
当我对作曲家进行更新时,会出现以下错误.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package gd could not be found in any version, there m
我试图在我的ubuntu21.04上使用最新的内核(5.11.0-34-generic)通过bitbake https://github.com/opendreambox/opendreambox/tree/pyro/meta-dreambox/recipes-graphics/meson-mali编译meson-mali,但是我得到了这个错误。 | from /home/raed/build_image/OpenPli-DM/openpli-dreambox-oe-core/build/tmp/work-shared/dreamtwo/kernel-sou
我想使用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')
我试图gd2的图像,但我无法调用的方法,因为我有问题,加载php_gd2.dll。我正在使用Windows 10,我已经多次尝试重新安装PHP和Apache。
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_gd2.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0