Solved

Compile php with mysqli error

Posted on 2008-06-21
4
1,326 Views
Last Modified: 2013-12-13
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
Comment
Question by:erenpasa
  • 2
  • 2
4 Comments
 
LVL 48

Expert Comment

by:hernst42
ID: 21837223
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
 

Author Comment

by:erenpasa
ID: 21837260
yes it's available. error is continiue.
0
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 21837263
Just try:
./configure --with-mysqli
0
 

Author Closing Comment

by:erenpasa
ID: 31469399
bingo :)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now