[ale] php/mysql install hell

Chris Ricker kaboom at gatech.edu
Sun Jan 6 21:13:38 EST 2002


On 6 Jan 2002, Jim Philips wrote:

> I have a RedHat 7.2 distro. I'm trying to upgrade Apache/PHP/MySQL.
> MySQL refuses to compile on my system. So, I installed the latest
> version using rpm. So far, so good. But when you configure PHP for
> compilation, it wants to know where MySQL is to compile in support.  The
> assumption is that all the pieces of MySQL are under one directory.

They are.  They're under /usr.

./configure --with-mysql=/usr --all-your-other-options

works just fine

> But RedHat, in its wisdom, scatters the pieces in different places. The
> client programs are in /usr/bin. The headers are in /usr/include/mysql.
> And the data files are in /var/lib/mysql.

Actually, the various Linux standards mandate that Red Hat and all other
distributions do this.  If PHP can't handle it, it's broken.

later,
chris


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list