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

Your name:

Reply:


Posted by Eric West on 10/26/06 15:33

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация