Re: [SLUG] php-mysql support

From: Rich Morgan (rmorgan@heavysystems.com)
Date: Thu Dec 28 2006 - 10:04:52 EST


On Wed, December 27, 2006 10:38 pm, Robert Waldo wrote:
> I am trying to access a mysql database on my Fedora Core 5 webserver. PHP
> 5.1.6 comes with the package already compiled. After reading several
> websites (including the php.net and mysql.com sites), I found that
> starting
> with PHP 5.x, mysql extensions are not included. According to:
> http://us3.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5,
> all
> unix users, at least the ones who know what they're doing, add
> --with-mysql=/usr when compiling their php package. When I look at
> phpinfo() it shows it was compiled --without-mysql. Therefore I cannot do
> a
> 'mysql_connect' in any of my scripts. I tried to update to php 5.2, but
> the
> mysql libs are not stored in /usr as they should be. Does anyone have any
> ideas or direct me to an article that may remedy this situation. I am
> getting extremely frustrated. I have googled until my fingers bleed.
>
> Bob Waldo
> www.bobwaldo.com
>

Man, I've had so many tugs-of-war with the various parts of LAMP over the
years... I feel your pain, bro.

I found this third-party package repository with exactly what you're
looking for:

http://rpmfind.net/linux/RPM/fedora/updates/5/i386/PByName.html

And here's the package you need:
php-mysql-5.1.6-1.2 - A module for PHP applications that use MySQL
databases - linux/i386

You might need to install the vanilla php-5.1.6 from this site, as well.
You'll have to try that out and see what works.

v/r,
Rich Morgan
OpenAddict.com

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:14:57 EDT