Compile php with mysqli error

Hi to all experts,
I am trying to compile php with mysqli extension on centos. (the my os use whm)
I run this command ./configure --with-mysqli=/usr/bin/
But it says me
"mysql_config not found
configure: error: Please reinstall the mysql distribution"

what can i do?
thanks
erenpasaAsked:
Who is Participating?
 
hernst42Connect With a Mentor Commented:
Just try:
./configure --with-mysqli
0
 
hernst42Commented:
check if mysql-devel is installed or try

./configure --with-mysqli=/usr

if mysql_config available if you enter the command into a shell?
0
 
erenpasaAuthor Commented:
yes it's available. error is continiue.
0
 
erenpasaAuthor Commented:
bingo :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.