Re: Installing PHP with MySQL RPM version

From: Date: Tue, 09 Sep 2003 19:32:43 +0000
Subject: Re: Installing PHP with MySQL RPM version
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-162106@lists.php.net to get a copy of this message
Mark McCulligh wrote:
when I compiled with --with-mysql only, phpinfo() said: Client API version: 3.23.49 I will recompile PHP with --with-mysql-sock instead.
I don't think this will change the client version. It is my understanding that this will just tell the client to look in a specific place for the socket file.
I want to make sure PHP is using the right MySQL Client version.
I think you will need to specify the location using --with-mysql=[dir]. It is just a guess, but try --with-mysql=/usr If you can't find where it is, one thing that might be worth considering is whether or not you need the 4.0 client lib. Take a look at this link: http://www.mysql.com/doc/en/Upgrading-from-3.23.html - Brad

« previous php.general (#162106) next »