Debian 12 lsphp81-gd

#1
I was forced to upgrade from PHP 7.4 to 8.1 on my Debian 12. After solving a lot of issues, I'm down one. My application image resize is not working.
I get this: PHP Warning: PHP Startup: Unable to load dynamic library 'gd' (tried: /usr/local/lsws/lsphp81/lib/php/extensions/no-debug-non-zts-20210902/gd

I looked in that directory and there is no gd.so.

My PHP info shows all GD options are enabled.

On this site I see these install options for Debian: apt-get install lsphp81 lsphp81-common lsphp81-curl lsphp81-mysql lsphp81-opcache lsphp81-imap lsphp81-opcache
For Centos it shows: yum install lsphp81 lsphp81-common lsphp81-mysql lsphp81-gd lsphp81-process lsphp81-mbstring lsphp81-xml lsphp81-mcrypt lsphp81-pdo lsphp81-imap lsphp81-soap lsphp81-bcmath

Centos has lsphp81-gd and Debian does not.

Is there a Debian 12 version of lsphp81-gd?
 
#2
More info:
I have tried to install libgd-dev and get libgd-dev : Depends: libgd3 (= 2.3.3-9+0~20230207.13+debian10~1.gbp649015) but 2.3.3-9 is to be installed Then I try to install libgd3 and get libgd3 : Depends: libtiff5 (>= 4.0.3) but it is not installable
Depends: libwebp6 (>= 0.5.1) but it is not installable
 

Cold-Egg

Administrator
#3
Hi,
For the Debian system, the lsphpxx-common package should have the gd package included. Is it possible to share the phpinfo page or content here?
 
#4
Here is the GD section. Even though I'm seeing those errors, my developer was able to get image size adjustments working with GD. It looks like the errors led me astray. GD is active.
gd.png
 
Top