Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1454
  • Last Modified:

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
0
erenpasa
Asked:
erenpasa
  • 2
  • 2
1 Solution
 
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
 
hernst42Commented:
Just try:
./configure --with-mysqli
0
 
erenpasaAuthor Commented:
bingo :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now