lsphp74-gd missing on Debian

I'm afraid gd is missing in the latest lsphp74, the module is not loaded and I cannot find a way to install it.

I saw that in (this-forum)/threads/lsphp72-gd-for-debian.3572/ lskagan told it should be included in the lsphp74-common, but mine is installed and yet gd is not available.

What should I do?
I tried both by compiling it from the panel and by installing it via apt

It is a machine from OVH, the uname shows
# uname -a
Linux limburg 4.19.0-10-cloud-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
And I'm running OLS 1.6.15
# sudo /usr/local/lsws/bin/lshttpd -v
LiteSpeed/1.6.15 Open
    module versions:
    modgzip 1.1
    cache 1.62
    modinspector 1.1
    uploadprogress 1.1
    mod_security 1.3
(built: Wed Aug  5 17:58:31 UTC 2020)
    module versions:
    modgzip 1.1
    cache 1.62
    modinspector 1.1
    uploadprogress 1.1
    mod_security 1.3
In PHP the error I get is that I don't have gd_info(), when I try to install lsphp74-gd I cannot find it.
# sudo apt search lsphp74
Sorting... Done
Full Text Search... Done
lsphp74/buster,now 7.4.9-1+buster amd64 [installed]
  server-side, HTML-embedded scripting language (LSAPI binary)

lsphp74-apcu/buster,now 5.1.18-2+buster amd64 [installed]
  APC User Cache for PHP

lsphp74-apcu-dbgsym/buster 5.1.18-2+buster amd64
  debug symbols for lsphp74-apcu

lsphp74-common/buster,now 7.4.9-1+buster all [installed]
  Common files for packages built from the PHP source

lsphp74-curl/buster,now 7.4.9-1+buster amd64 [installed]
  CURL module for PHP

lsphp74-dbg/buster 7.4.9-1+buster amd64
  Debug symbols for LSPHP70

lsphp74-dev/buster 7.4.9-1+buster amd64
  Files for PHP70 module development

lsphp74-igbinary/buster,now 3.0.1-2+buster amd64 [installed,automatic]
  igbinary PHP serializer

lsphp74-igbinary-dbgsym/buster 3.0.1-2+buster amd64
  debug symbols for lsphp74-igbinary

lsphp74-imagick/buster,now 3.4.4-2+buster amd64 [installed]
  Provides a wrapper to the ImageMagick library

lsphp74-imagick-dbgsym/buster 3.4.4-2+buster amd64
  debug symbols for lsphp74-imagick

lsphp74-imap/buster,now 7.4.9-1+buster amd64 [installed]
  IMAP module for PHP

lsphp74-intl/buster 7.4.9-1+buster amd64
  Internationalisation module for PHP

lsphp74-ioncube/buster 10.4.1-1+buster amd64
  PHP extension for interfacing with ioncube

lsphp74-json/buster,now 7.4.9-1+buster amd64 [installed]
  JSON module for PHP

lsphp74-ldap/buster 7.4.9-1+buster amd64
  LDAP module for PHP

lsphp74-memcached/buster,now 3.1.5-2+buster amd64 [installed]
  memcached extension module for PHP, uses libmemcached

lsphp74-memcached-dbgsym/buster 3.1.5-2+buster amd64
  debug symbols for lsphp74-memcached

lsphp74-modules-source/buster 7.4.9-1+buster all
  PHP 70 modules source package

lsphp74-msgpack/buster,now 2.0.3-2+buster amd64 [installed,automatic]
  PHP extension for interfacing with MessagePack

lsphp74-msgpack-dbgsym/buster 2.0.3-2+buster amd64
  debug symbols for lsphp74-msgpack

lsphp74-mysql/buster,now 7.4.9-1+buster amd64 [installed]
  MySQL module for PHP

lsphp74-opcache/buster,now 7.4.9-1+buster amd64 [installed]
  Zend OpCache module for PHP

lsphp74-pear/buster 1.10.10-2+buster all
  Provides PHP PEAR package

lsphp74-pgsql/buster 7.4.9-1+buster amd64
  PostgreSQL module for PHP

lsphp74-pspell/buster 7.4.9-1+buster amd64
  pspell module for PHP

lsphp74-redis/buster,now 5.1.1-2+buster amd64 [installed]
  PHP extension for interfacing with Redis

lsphp74-redis-dbgsym/buster 5.1.1-2+buster amd64
  debug symbols for lsphp74-redis

lsphp74-snmp/buster 7.4.9-1+buster amd64
  SNMP module for PHP

lsphp74-sqlite3/buster,now 7.4.9-1+buster amd64 [installed]
  SQLite3 module for PHP

lsphp74-sybase/buster 7.4.9-1+buster amd64
  Sybase module for PHP

lsphp74-tidy/buster 7.4.9-1+buster amd64
  tidy module for PHP
Sorry to bump, but I'm still having the issue

▶ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

▶ /usr/local/lsws/lsphp74/bin/lsphp -i | grep gd
Configure Command =>  './configure'  '--prefix=/usr/local/lsws/lsphp74' '--disable-cgi' '--enable-cli' '--enable-phpdbg=no' '--enable-litespeed' '--with-config-file-path=/usr/local/lsws/lsphp74/etc/php/7.4/litespeed/' '--with-config-file-scan-dir=/usr/local/lsws/lsphp74/etc/php/7.4/mods-available/' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--libdir=${prefix}/lib/php' '--libexecdir=${prefix}/lib/php' '--datadir=${prefix}/share/php/7.4' '--program-suffix=7.4' '--disable-all' '--disable-debug' '--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' '--without-pear' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dom' '--with-enchant' '--enable-exif' '--with-gettext' '--with-gmp' '--enable-fileinfo' '--enable-filter' '--enable-ftp' '--enable-hash' '--with-iconv' '--enable-mbregex' '--enable-mbregex-backtrack' '--enable-mbstring' '--enable-phar' '--enable-posix' '--enable-mysqlnd-compression-support' '--with-zlib' '--with-openssl=yes' '--with-libedit' '--with-libxml' '--with-bz2' '--enable-session' '--enable-simplexml' '--enable-soap' '--enable-sockets' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xmlrpc' '--with-xsl' '--with-mhash=yes' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-zip' '--with-sodium' '--with-password-argon2' '--with-system-tzdata' '--enable-gd' '--enable-gd-native-ttf' '--with-jpeg' '--with-xpm' '--with-png' '--with-webp' '--with-freetype' '--with-vpx-dir' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--disable-dtrace' '--enable-pdo' '--enable-mysqlnd' '--enable-pcntl' '--with-sqlite3=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-pdo-dblib=shared,/usr' '--with-ldap=shared,/usr' '--with-ldap-sasl=/usr' '--enable-intl=shared' '--with-snmp=shared,/usr' '--enable-json=shared' '--with-pgsql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--enable-opcache' '--enable-opcache-file' '--enable-huge-code-pages' '--with-imap=shared,/usr' '--with-kerberos' '--with-imap-ssl=yes' '--with-mysqli=shared,mysqlnd' '--with-pdo-mysql=shared,mysqlnd' '--with-tidy=shared,/usr' '--with-pspell=shared,/usr' '--with-curl=shared,/usr' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/php7.4-7.4.10=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fsigned-char -fno-strict-aliasing -g'
gd.jpeg_ignore_warning => 1 => 1
Even though the gd module was enabled while installing php74, I regularly get an error
Call to undefined function gd_info()
Is there anything I need to check or configure in a different way?


If it is working with only sometimes showing gd_info() is undefined it may be a code issue with whatever calls gd. The output of your command shows gd is enabled and working inside of lsphp74. Do you have any way of reproducing it?