Re: MYSQL support

From: Date: Sat, 22 Sep 2001 21:17:34 +0000
Subject: Re: MYSQL support
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4376@lists.php.net to get a copy of this message
PHP hasn't hardwired anything. The MySQL library which ships with PHP does have this hardwired, but that is why I told your to use --with-mysql=/path which tells PHP to not use the built-in library and to use the system one which has the correct socket location built in. -Rasmus > Rasmus Lerdorf wrote: > > > This is usually caused by a client library mismatch. If you have the > > mysql client library installed on your system, use: > > > > --with-mysql=/usr > > Actually, I did a custom install. mySQL, plus relevant includes and > libraries are all under /usr/local. The datafiles are under > /usr/local/var/mysql, which is also default installation, however I > configured it to also drop my socket in there > (/usr/local/var/mysql/mysql.sock), and there is no way to instruct PHP's > configure to account for that. Looking at the configure script, mysql.sock > is hard wired to look at specific places, not to allow for a command line > option. > > -- > W | I haven't lost my mind; it's backed up on tape somewhere. > +-------------------------------------------------------------------- > Ashley M. Kirchner <mailto:ashley@pcraft.com> . > 303.442.6410 x130 > IT Director / SysAdmin / WebSmith . 800.441.3873 x130 > Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 > http://www.pcraft.com ..... . . . Boulder, CO > 80303, U.S.A. > > > >

« previous php.install (#4376) next »