Last night I compiled and installed PHP4.1.2 with MySQL support (compiled in Apache 1.3.24). During the configure routine, it indicated that MySQL's socket was found as /tmp/mysql.sock - which is correct. However, upon looking at phpinfo() after everything was installed, PHP indicated that the socket file was /var/lib/mysql/mysql.sock and consequently started complaining that it can't connect to MySQL through that socket. For the first time in years, I had to manually set the socket information in my php.ini file so that it would work.
My question is, why the discrepancy? How come PHP's configure command says the socket is /tmp/mysql.sock, yet when it's actually running, phpinfo() says something completely different? I realize that it's a small problem, which is fixed by setting the value in php.ini, still. Something doesn't jive right. -- 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php