cancel
Showing results for 
Search instead for 
Did you mean: 

pdo_mysql.so Comments Itself in php.ini

pdo_mysql.so Comments Itself in php.ini

I am running Magento version 1.9.2.2 on Bluehost.
I got the error says "pdo_mysql extension is not installed". So I added the following lines to my php.ini on my site root directory.

 

extension=pdo_mysql.so
extension=pdo_mysqli.so
extension=pdo.so

 

The site works for awhile and a few days later it gets the same error message, when I go back to php.ini, I see those lines became:

 

;extension=pdo_mysql.so
;extension=pdo_mysqli.so
;extension=pdo.so

 

Uncomment those lines and I encounter the same error again in a few days.
I did not change any settings nor modify the .ini file.
I am fairly new to Magento, can anyone tell me what's going on?
Thanks in advance.