Solved

Compile php with mysqli error

Posted on 2008-06-21
4
1,349 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

736 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