Thursday, February 5, 2009

Fixed PHP compile error: Note that the MySQL client library is not bundled anymore!

Just a note that is worth be reminded for all CentOS version 5 users. One of the issues being encountered on compiling PHP with MySQL is the error:

Note that the MySQL client library is not bundled anymore!

Now how are you going to fix this?? Here's how.

On your configure command just locate or point the mysql lib base dir in my case it is on /usr

so just do ./configure --with-mysql=/usr

That will resolve your problem.

Hope this helps. Thanks, Cheers and God Bless!!

No comments: