search

Home  >  Q&A  >  body text

PHP --- Unable to load dynamic library pdo_mysql.so

php cannot load the pdo_mysql.so extension
The configuration file has been added:

But when running php --ini, it still prompts

I’ve been doing this all afternoon and I don’t know why. T_T, please save me~~

PS: It is normal to access using apach, but an error is reported from the command line

曾经蜡笔没有小新曾经蜡笔没有小新2771 days ago687

reply all(1)I'll reply

  • 阿神

    阿神2017-05-16 13:00:08

    Apache and command line php do not use the same php.ini configuration file~~~

    phpinfo() Check whether the loaded php.ini path is the same.

    reply
    0
  • Cancelreply