Jump to content

Installing the PDO with MySQL support.


sepoto

Recommended Posts

I have read the documentation on php.net about installing the module php-pdo with MySQL support and it seems that it says to use the option--with-pdo-mysql however it does not show me any context on how or where to use it. I have been installing php-pdo on my server with yum -y install php-pdo however that only installs the module with SQLite support. I need to know how to install the module on CentOS 6 with support for MySQL. It seems there are drivers for this. I found know documentation that could explain this to me. Does anyone know how to do this?

Link to comment
Share on other sites

That's for compiling the extension from source, like the manual shows:

$ ./configure --with-pdo-mysql --with-mysql-sock=/var/mysql/mysql.sock

It doesn't seem to say where to get the source though, that seems like it would be helpful information.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...