At 10:52 AM 1/1/2005, Jason Wong wrote:
On Saturday 01 January 2005 23:26, Evan Cooch wrote:
Thanks for the quick reply. Nice to see I'm not the only one working. :-)
> ./configure --with-apxs2=/wwwroot/bin/apxs --with-mysql=/usr/lib/mysql > > But, this bombs during configure - I get the following error message: > > configure: error: Cannot find MySQL header files under /usr/lib/mysql > > 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
mysql.default_socket=/var/lib/mysql
Thanks again...
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php