containers
containers copied to clipboard
[bitnami/php-fpm] Docker PHP8.3 FPM xdebug.so is missing
Name and Version
bitnami/php-fpm:8.3
What architecture are you using?
amd64
What steps will reproduce the bug?
Pull the image, try to activate xdebug
What is the expected behavior?
xdebug is available and working
What do you see instead?
xdebug is missing in php-fpm8.3
....... ls -lah /opt/bitnami/php/lib/php/extensions/
total 5.3M
drwxr-xr-x 2 root root 4.0K Dec 20 13:15 .
drwxr-xr-x 14 root root 4.0K Dec 20 13:15 ..
-rwxr-xr-x 1 root root 84K Dec 20 13:06 apcu.so
-rwxr-xr-x 1 root root 472K Dec 20 13:06 imagick.so
-rwxr-xr-x 1 root root 27K Dec 20 13:06 maxminddb.so
-rwxr-xr-x 1 root root 176K Dec 20 13:06 memcached.so
-rwxr-xr-x 1 root root 3.4M Dec 20 13:06 mongodb.so
-rwxr-xr-x 1 root root 974K Dec 20 13:06 opcache.so
-rwxr-xr-x 1 root root 31K Dec 20 13:06 pdo_dblib.so
-rwxr-xr-x 1 root root 52K Dec 20 13:06 pdo_pgsql.so
-rwxr-xr-x 1 root root 140K Dec 20 13:06 pgsql.so
but it is available in php-fpm8.2
...... ls -lah /opt/bitnami/php/lib/php/extensions
total 5.8M
drwxr-xr-x 2 root root 4.0K Nov 21 16:50 .
drwxr-xr-x 14 root root 4.0K Nov 21 16:50 ..
-rwxr-xr-x 1 root root 84K Nov 21 16:38 apcu.so
-rwxr-xr-x 1 root root 472K Nov 21 16:38 imagick.so
-rwxr-xr-x 1 root root 27K Nov 21 16:38 maxminddb.so
-rwxr-xr-x 1 root root 176K Nov 21 16:38 memcached.so
-rwxr-xr-x 1 root root 3.4M Nov 21 16:38 mongodb.so
-rwxr-xr-x 1 root root 974K Nov 21 16:39 opcache.so
-rwxr-xr-x 1 root root 31K Nov 21 16:39 pdo_dblib.so
-rwxr-xr-x 1 root root 52K Nov 21 16:39 pdo_pgsql.so
-rwxr-xr-x 1 root root 136K Nov 21 16:39 pgsql.so
-rwxr-xr-x 1 root root 486K Nov 21 16:39 xdebug.so
Images:
bitnami/php-fpm 8.3 5ec01242a481 10 days ago 282MB
bitnami/php-fpm 8.2 2cec7a3b0e98 6 weeks ago 282MB
Please add it again to the 8.3 version of php-fpm
Additional information
No response
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Just assigned, looks not fixed yet according to the states -> keep not-state.
Still not there...
Still missing.... When can we expect it to be added again like in the prior PHP versions?, @aoterolorenzo @carrodher
Hi @alexh-swdev, @ChaseHQ
Not sure of the reason behind it being missing. I will create a task for the team in order to add the module to the 8.3 version of PHP. We will reach you back here.
Hi, Is there any other way to install xdebug.so missing file? Thanks
Hi @aoterolorenzo can you give an estimate when we can expect xdebug to be added again to php fpm 8.3? Two weeks have passed and I just pulled the newest php fpm 8.3 image 9ae8bebd6cfc and it is still missing. Debugging is not possible without it, so this is indeed kind of a serious issue.
pecl install xdebug
Temporary I used install xdebug via pecl command.
When I try to execute this workaround in the container, I get:
(....) pecl install xdebug
Failed loading /opt/bitnami/php/lib/php/extensions/xdebug.so: /opt/bitnami/php/lib/php/extensions/xdebug.so: cannot open shared object file: No such file or directory
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading xdebug-3.3.1.tgz ...
Starting to download xdebug-3.3.1.tgz (258,953 bytes)
.....................................................done: 258,953 bytes
102 source files, building
running: phpize
Configuring for:
PHP Api Version: 20230831
Zend Module Api No: 20230831
Zend Extension Api No: 420230831
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
Do you know, what else is required? I never had to use pecl before...
/Edit: Ok, had to also install autoconf gcc make
/Edit: Thanks, btw, rahulgupta-acquia
@aoterolorenzo A month later: Any updates? Or is the workaround still required?
Feels like a standstill... switching to https://hub.docker.com/r/webdevops/php-dev/tags
it's hard to get these guys to add something you need. I've failed in the past to achieve adding missing modules, 'stale' seems to be their resolution.
The thing is: It was already part of it and somehow dropped out w/o notice.
I hope they fix it for you.
Oh, idc anymore, tbh. As I said, I am using webdevops/php-dev now. Not perfect either, but works well enough for me.