Solved

Compile php with mysqli error

Posted on 2008-06-21
4
1,341 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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 create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

838 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