Module 'PDO' already loaded in Unknown on

2019-08-14 16:04发布

问题:

I'm getting this PHP warning when i try to run composer-

Module 'PDO' already loaded in Unknown on line 0

回答1:

Maybe, somewhere in your php.ini you have a duplicated pdo extension inclusion. Open your php.ini and search for extension = "pdo.so" (or simply pdo.so). Remove any duplication found. Restart apache.