[ale] php/mysql install hell
Jim Philips
jcphil at mindspring.com
Mon Jan 7 07:36:53 EST 2002
When I install MySQL with rpm, executables are in /usr/bin. The headers
are in /usr/include/mysql. The data directory is /var/lib/mysql and yet
other parts are in /usr/share/mysql. When I look at phpinfo() it
indicates that PHP thinks MySQL is in /usr/local. I don't know if htis
is significant or not. But any PHP script that calls on the database
will seg fault. So, configuring --with-mysql=/usr hasn't worked for me
yet.
On Sun, 2002-01-06 at 21:13, Chris Ricker wrote:
> 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.
>
---
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