Jump to content

PDO_MYSQL on PHP 5.3.25


Recommended Posts

So I am new to this forum and wasn't sure if this is where I should post this question, but I have been working for days trying to figure out how to get the PDO_MYSQL extension to work. I have a Centos 6 OS and have PHP 5.3.25 installed. I have read multiple ways of installing PDO_MYSQL. Everytime I try to install it I get an error of some type. What is the correct way to install PDO_MYSQL on Centos? I have also read that its part of PHP core now but when I edited the php.ini file with the extension, it still didn't work.

 

Thanks for your help!

Link to comment
https://forums.phpfreaks.com/topic/278291-pdo_mysql-on-php-5325/
Share on other sites

Awesome news! I figured out an easy way of getting it done!

 

Here is how I did it using WHM:

 

 

1. Login to WHM
2. Click Apache Update
3. Click Start Customizing Based on Profile
4. Select an Apache version
5. Click Next Step
6. Select PHP 5
7. Click Next Step
8. Select a version of PHP 5
9. Click Next Step
10. Click Exhaustive Options List button
11. Scroll down to the check box labeled PDO
12. Click Save and Build

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.