Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

cheimach's avatar

problemes pour php

cheima@DESKTOP-GN5B79P:/mnt/c/Users/taima/OneDrive/Bureau/dessindigo/dessindigo-finalement$ php -m PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20190902/pdo_mysql (/usr/lib/php/20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/pdo_mysql.so (/usr/lib/php/20190902/pdo_mysql.so: undefined symbol: mysqlnd_allocator)) in Unknown on line 0 [PHP Modules] calendar Core ctype curl date dom exif FFI fileinfo filter ftp gettext hash iconv json libxml mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql Phar posix readline Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl Zend OPcache zlib

[Zend Modules] Zend OPcache

0 likes
1 reply
RemiM's avatar

It's either a problem with MySQL itself or the pdo_mysql extension.

You can quickly check if the extension is installed:

php -m | grep pdo

If it's not, you will have to install or reinstall the extension.

Please or to participate in this conversation.