Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've been handled down this project, which is running PHP 5.3.6 with PDO support disabled.

I have a cPanel login to interface with the server. What would be the process to install/enable PDO MysQL support?

[EDIT] Looking at a phpinfo dump, I see:

Configure Command   './configure' '--disable-fileinfo' '--disable-pdo'

Changing --disable-pdo to --enable-pdo would do it? How/where do I change those settings?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This is not a setting you can change through your web interface. The phpinfo() function is reporting the options PHP was compiled with. You are going to need to re-install or recompile PHP with the options you require. But first you should probably take time to figure out how your current version was compiled or installed so you can properly remove it, and build a new version.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.