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:[EMAIL PROTECTED]>   .   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.
>
>
>
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to