Nice to see I'm not the only one working on Saturday. :-)

Some followups embedded below.

> OK, so I try again, this time using --with-mysql=/usr/bin/mysql - no luck.
> Same message.

You need to install the mysql-devel package.

Hmmm...OK. Why? (just for my understanding). Again, never had this problem with RH7.3...

> So, how do I either (i) compile PHP (or tweak php.ini) to tell it to look
> in /var/lib/mysql for the mysql.soc file, or (2) tell mySQL to put the
> mysql.sock file somewhere else (like, presumably, /tmp, so PHP can find
> it)?

Did you actually look in your php.ini? Because there is an entry there just
for this purpose.

I did, and saw several (many!) options related to mySQL, but wasn't sure what to do with them. The one that seems most related to the 'socket' issue is

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

Do I simply change this to


Thanks again...

-- PHP Database Mailing List ( To unsubscribe, visit:

Reply via email to