Bug #81205 [NEW]: GD extension does not load

From: Date: Mon, 28 Jun 2021 14:44:48 +0000
Subject: Bug #81205 [NEW]: GD extension does not load
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234667@lists.php.net to get a copy of this message
From:             buschmann at nidsa dot net
Operating system: Windows Server 2019 64bit
PHP version:      8.1.0alpha2
Package:          Dynamic loading
Bug Type:         Bug
Bug description:GD extension does not load

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 bug report at https://bugs.php.net/bug.php?id=81205&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81205&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81205&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81205&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81205&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81205&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81205&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81205&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81205&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81205&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81205&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81205&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81205&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81205&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81205&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81205&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81205&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81205&r=mysqlcfg


Thread (7 messages)

« previous php.bugs (#234667) next »