-
Notifications
You must be signed in to change notification settings - Fork 3
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
PHP-Ext pdo_mysql does not load correctly #797
Comments
Can you install |
Strange, updated the Dockerfile to: FROM ghcr.io/shyim/wolfi-php/caddy:8.2
RUN apk add --no-cache \
php-8.2-pdo \
php-8.2-mysqlnd \
php-8.2-pdo_mysql
WORKDIR /var/www/html
COPY --chown=82 . . That now works for PHP 8.4, but throws the same error for I might get away with just using PHP 8.4 for this project, but would be good to have it working for PHP 8.2 nevertheless. Is this something I can help fixing? |
I need to fix the dependencies of the packages, that It knows it automatically.. Let me check for 8.2 |
I remembered, installing curl extension fixes it wolfi-dev/os#10921 |
da fuck, that works 🎉, added curl and now it works. Thank you! Should I left this issue open to fix the underlying issue, so that I can use pdo_mysql without installing curl? :D |
keep it open to look why this happens |
This problem also exists for |
I found the root issue: php/php-src#18003 |
Hey!
not sure if its an issue on my side, but as soon as I try to install the
pdo_mysql
extension, all PHP starts with a warning:It works flawlessly with
pdo_sqlite
, butpdo_mysql
seems to be broken for some reason. I'm using the ´caddy´ variant with PHP 8.4. (Also tries 8.2 with the same result).This is a minimal Dockerfile that throws that error for me.
Files:
(Let me know when you want a reproduction git repo when that's not enough information)
During the build everything is fine, but when starting the container (both locally and at render.com), I get the error form above:
Is that something on my side or is this a general error with pdo_mysql here?
Thank you!
The text was updated successfully, but these errors were encountered: