Bug #81205 [Opn]: GD extension does not load
Edit report at https://bugs.php.net/bug.php?id=81205&edit=1
ID: 81205
Updated by: cmb@php.net
Reported by: buschmann at nidsa dot net
Summary: GD extension does not load
Status: Open
Type: Bug
-Package: Dynamic loading
+Package: GD related
Operating System: Windows Server 2019 64bit
PHP Version: 8.1.0alpha2
Block user comment: N
Private report: N
New Comment:
Make sure that avif.dll is in the PATH.
Previous Comments:
------------------------------------------------------------------------
[2021-06-28 14:44:47] buschmann at nidsa dot net
Description:
------------
When using our longtime php.ini file (unchanged) for 8.1alpha2 testing, The GD module fails to load
with 2 identical error messages in the log file:
[28-Jun-2021 14:25:14 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'gd'
(tried: N:\Apache\php8\ext\gd (Das angegebene Modul wurde nicht gefunden),
N:\Apache\php8\ext\php_gd.dll (Das angegebene Modul wurde nicht gefunden)) in Unknown on line 0
[28-Jun-2021 14:25:14 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'gd'
(tried: N:\Apache\php8\ext\gd (Das angegebene Modul wurde nicht gefunden),
N:\Apache\php8\ext\php_gd.dll (Das angegebene Modul wurde nicht gefunden)) in Unknown on line 0
This means in english, that the specified module could not be found.
A check in the ext directory shows the file php_gd.dll
(Standard distribution thread safe 64bit for Windows from php website)
This worked well in 8.1.alpha1 and 8.0 all versions.
In the working cases GD section is shown in info.php
Test script:
---------------
below part of the running php.ini
...
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;
;extension=bz2
;extension=curl
;extension=fileinfo
extension=gd
;extension=gettext
;extension=gmp
;extension=intl
;extension=imap
;extension=interbase
;extension=ldap
extension=mbstring
extension=exif
; Must be after mbstring as it depends on it
; ; HB disabled mysql to test MySql_Functions wrapper tool
;extension=mysql
;extension=mysqli
;extension=oci8 ; Use with Oracle 10gR2 Instant Client
;extension=oci8_11g ; Use with Oracle 11gR2 Instant Client
;extension=openssl
;extension=pdo_firebird
;extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
;extension=pdo_pgsql
;extension=pdo_sqlite
extension=pgsql
;extension=pspell
;extension=shmop
...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81205&edit=1
Thread (7 messages)