473,748 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP wants "mysql_conf ig" 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.rp m and
MySQL-server-standard-5.0.26-0.rhel4.i386.rp m, there doesn't appear to
be a "mysql_conf ig" 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 3868

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

On Oct 26, 11:33 am, "Eric West" <pumpkinheadgi. ..@gmail.comwro te:
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.rp m and
MySQL-server-standard-5.0.26-0.rhel4.i386.rp m, there doesn't appear to
be a "mysql_conf ig" 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
10282
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 clean # python setup.py build running build running build_py
0
563
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 binary distribution (the .dmg package). I can add libmysqld.a to the CodeWarrior project but when linking, there're lots of undefined symbols referenced from libmysqld.a. I assume it also needs the equivalent of -lz and -lm to be added to...
4
13722
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 php 5.1.6
2
1261
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 MySQLdb PIL etc etc. The build works if I use python2.6 and with one minor fix I can get all the extensions built and apparently working. However, there are some minor problems with deprecated code inside the version of django we're using. I...
4
1587
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 long as the MySQL client lib is built as 32-bit lib, you shouldn't
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9326
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8245
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.