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

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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

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

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,

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

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

Quoted text here. Click to load it

Site Timeline