Solved – PHP Warning: Module 'PDO' already loaded in Unknown on line 0.

by
Share this Article: Facebook0Google+0Twitter5LinkedIn0Reddit0StumbleUpon0

Question : I got this error  Log in CMS  (Joomla  and  WordPress) : PHP Warning: Module ‘PDO’ already loaded in Unknown on line 0.

Solution:

First locate php.ini

Locate  php.ini

In VPS  and dedicated  server  with centos installed  php.ini should be  under   /usr/local/lib

Edit  php.ini   file  en  remove  the  extra duplicated  lines ,

 ; If you wish to have an extension loaded automatically, use the following
 ; syntax:
 ;
 extension = "pdo.so"
 extension = "pdo_sqlite.so"
 extension = "sqlite.so"
 extension = "pdo_mysql.so"
 extension = "pdo.so"
 extension = "pdo_sqlite.so"
 extension = "sqlite.so"
 extension = "pdo_mysql.so"
 ;

Now restart   apache

 /etc/init.d/httpd restart

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter5LinkedIn0Reddit0StumbleUpon0