Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/php-fpm] Docker PHP8.3 FPM xdebug.so is missing #54366

Open
alexh-swdev opened this issue Jan 3, 2024 · 16 comments
Open

[bitnami/php-fpm] Docker PHP8.3 FPM xdebug.so is missing #54366

alexh-swdev opened this issue Jan 3, 2024 · 16 comments
Labels
on-hold Issues or Pull Requests with this label will never be considered stale php-fpm tech-issues The user has a technical issue about an application

Comments

@alexh-swdev
Copy link

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

@alexh-swdev alexh-swdev added the tech-issues The user has a technical issue about an application label Jan 3, 2024
@github-actions github-actions bot added the triage Triage is needed label Jan 3, 2024
@github-actions github-actions bot removed the triage Triage is needed label Jan 3, 2024
@github-actions github-actions bot assigned aoterolorenzo and unassigned javsalgar Jan 3, 2024
Copy link

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.

@github-actions github-actions bot added the stale 15 days without activity label Jan 19, 2024
@alexh-swdev
Copy link
Author

Just assigned, looks not fixed yet according to the states -> keep not-state.

@github-actions github-actions bot removed the stale 15 days without activity label Jan 20, 2024
@CraigVella
Copy link

Still not there...

@alexh-swdev
Copy link
Author

alexh-swdev commented Jan 29, 2024

Still missing.... When can we expect it to be added again like in the prior PHP versions?, @aoterolorenzo @carrodher

grafik

@aoterolorenzo
Copy link
Contributor

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.

@aoterolorenzo aoterolorenzo added the on-hold Issues or Pull Requests with this label will never be considered stale label Jan 31, 2024
@rahulgupta-acquia
Copy link

Hi,
Is there any other way to install xdebug.so missing file?
Thanks

@alexh-swdev
Copy link
Author

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.

@rahulgupta-acquia
Copy link

pecl install xdebug
Temporary I used install xdebug via pecl command.

@alexh-swdev
Copy link
Author

alexh-swdev commented Feb 12, 2024

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

@alexh-swdev
Copy link
Author

@aoterolorenzo
A month later: Any updates? Or is the workaround still required?

@alexh-swdev
Copy link
Author

Feels like a standstill... switching to https://hub.docker.com/r/webdevops/php-dev/tags

@deonthomasgy
Copy link

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.

@alexh-swdev
Copy link
Author

The thing is: It was already part of it and somehow dropped out w/o notice.

@deonthomasgy
Copy link

I hope they fix it for you.

@alexh-swdev
Copy link
Author

Oh, idc anymore, tbh. As I said, I am using webdevops/php-dev now. Not perfect either, but works well enough for me.

@javsalgar javsalgar changed the title Docker PHP8.3 FPM xdebug.so is missing [bitnami/php-fpm] Docker PHP8.3 FPM xdebug.so is missing Apr 3, 2024
@mistial-dev
Copy link

Went to take a look at this, but docker's just pulling it down from a stacksmith tar.gz.

        curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \
        curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \

I don't see any documentation on how or where those files are generated, or I'd put together a pull request to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold Issues or Pull Requests with this label will never be considered stale php-fpm tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

8 participants