Nie mogę utworzyć instancji PDO. Korzystam z kontenera stworzonego z oficjalnego obrazu php:7.1.5-apache, ten kontener jest połączony z kontenerem z mysql.
Z phpinfo()
PDO
PDO support |
enabled |
PDO drivers |
sqlite |
pdo_sqlite
PDO Driver for SQLite 3.x |
enabled |
SQLite Library |
3.15.1
|
mysqlnd |
enabled |
Version |
mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $ |
Compression |
supported |
core SSL |
supported |
extended SSL |
supported |
Command buffer size |
4096 |
Read buffer size |
32768 |
Read timeout |
31536000 |
Collecting statistics |
Yes |
Collecting memory statistics |
No |
Tracing |
n/a |
Loaded plugins |
mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password |
API Extensions |
no value |
php -m | grep pdo zwraca:
pdo_sqlite