Google Plus

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

Written by Mel Kham on . Posted in Frequently Asked Questions

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Lolman

|

in cmd

Oliver

|

Do you think that it works on a Macbook Air 1,1?… ohh and, it must be installed in a different partition than Mac OS X, right?… can´t have i installed only Ubuntu on my hard drive?

Nova

|

I wonder if there is a way to create your own themes.

Red Adaya

|

Thank you! This worked for me!!!

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .