Re: Re: pear DB::connect to mysql fails

From: Date: Tue, 11 Feb 2003 09:06:22 +0000
Subject: Re: Re: pear DB::connect to mysql fails
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3695@lists.php.net to get a copy of this message
On Tue, 2003-02-11 at 04:01, Scott Seong wrote: > This is a follow up to my original posting. > > I've found that PHP included in the Red Hat 8.0 doesn't enable mysql by > default. So, as described in someone's suggestion in PHP manual, I've > downloaded php-mysql rpm from rpmfind.net and installed it. However, the > result is the same. > > Is that a way without recompiling apache, php and mysql? Any suggestions? All you need to do is this - get the php-4.3.0 SRPM from: http://www.aucs.org/rpmcenter/ Place it in /usr/src/redhat/SRPMS. Then (as root): rpmbuild --rebuild php-4.3.0-1.8.0.src.rpm This builds php 4.3.0 for your system, with your version of MySQL client, etc. I had to do this because I have different versions of MySQL on my different machines. One thing, you may need to do the same with httpd-2.0.44, I think that is what I did but it was not hard. For one machine I removed all httpd- and php-related rpms and started from scratch. If you can do the same, I highly recommend it. It feels good that way. -- Mitch

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.pear.general (#3695) next »