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
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

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.