473,765 Members | 1,967 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 3870

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
10284
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
13724
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
1263
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
10160
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
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
9832
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
8831
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...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
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
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.