473,394 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

PHP wants "mysql_config" for configure, but this is not on system

Hello gurus of the internet-

I'm trying to install PHP on a system with MySQL I've had success using
MySQL which was installed via "yum install mysql" on my CentOS 4.3
system.

My problem is that I'd really like to use Mysql5, but when I install it
via MySQL-client-standard-5.0.26-0.rhel4.i386.rpm and
MySQL-server-standard-5.0.26-0.rhel4.i386.rpm, there doesn't appear to
be a "mysql_config" file installed anywhere on the system. This file is
referenced during my PHP install instructions for running the configure
command prior to compiling as:

./configure --prefix=/usr/local/php
--with-mysqli=/usr/local/bin/mysql_config
--with-apxs2=/usr/local/apache2/bin/apxs

The 'mysql_config' file that is referenced as the argument to the
--with-mysqli option was present in that location when using MySQL4,
but doesn't show up with "find / -name 'mysql_config'".

The MySQL5 install does appear to be working and running.

Any thoughts?

Thanks for any help,
Eric

Oct 26 '06 #1
1 3841

I figured it out. I needed to download the "devel" rpm as well.

On Oct 26, 11:33 am, "Eric West" <pumpkinheadgi...@gmail.comwrote:
Hello gurus of the internet-

I'm trying to install PHP on a system with MySQL I've had success using
MySQL which was installed via "yum install mysql" on my CentOS 4.3
system.

My problem is that I'd really like to use Mysql5, but when I install it
via MySQL-client-standard-5.0.26-0.rhel4.i386.rpm and
MySQL-server-standard-5.0.26-0.rhel4.i386.rpm, there doesn't appear to
be a "mysql_config" file installed anywhere on the system. This file is
referenced during my PHP install instructions for running the configure
command prior to compiling as:

./configure --prefix=/usr/local/php
--with-mysqli=/usr/local/bin/mysql_config
--with-apxs2=/usr/local/apache2/bin/apxs

The 'mysql_config' file that is referenced as the argument to the
--with-mysqli option was present in that location when using MySQL4,
but doesn't show up with "find / -name 'mysql_config'".

The MySQL5 install does appear to be working and running.

Any thoughts?

Thanks for any help,
Eric
Oct 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: francescomoi | last post by:
Hi. I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: ---------------------------------- # export PATH=$PATH:/usr/local/mysql/bin/ # export mysqlclient=mysqlclient_r # python setup.py...
0
by: Desmond L | last post by:
I'm tring to use CodeWarrior 9 to build a Mach-O target application on Mac OS X that uses the embedded mysql server library (libmysqld.a). I'm using the library that comes from standard Mac OS X...
4
by: Eric West | last post by:
First, thanks for taking the time to read this message. I am trying to build a LAMP stack for the first time, and have encountered the following problem: CentOS 4.3 mysql 4.1.20 apache 2.2.3...
2
by: Robin Becker | last post by:
I'm trying to build Python from the unix sources on an OS 10.5 machine. This is because we're getting strange faults when using the built in python 2.5 together with some precompiled versions of...
4
by: M.-A. Lemburg | last post by:
Hi Robin, On 2008-10-23 17:55, Robin Becker wrote: That looks like a classical name clash between C header files. It also suggests that you have 64-bit client libs of MySQL installed. As...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.