Re: [PHP-INST] MYSQL support

2001-09-22 Thread Ashley M. Kirchner
Rasmus Lerdorf wrote: > Well, PHP gets that path from the mysql client library, so if it isn't > getting the right one then your client library is wrong. Check it: > > strings /usr/lib/libmysqlclient.so | grep sock Mine outputs: # strings /usr/local/lib/mysql/libmysqlclient.so | grep sock

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Rasmus Lerdorf
Well, PHP gets that path from the mysql client library, so if it isn't getting the right one then your client library is wrong. Check it: strings /usr/lib/libmysqlclient.so | grep sock Mine outputs: /var/lib/mysql/mysql.sock -Rasmus On Sat, 22 Sep 2001, Ashley M. Kirchner wrote: > Rasmus Le

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Jeremy Wadsack
Ashley M. Kirchner ([EMAIL PROTECTED]): > Jeremy Wadsack wrote: >> I've always had this "problem" with PHP/MySQL installs. And always >> used the --with-mysql setting to point to the only library installed >> on the system (which therefore matches the mysqld installed on the >> system). >

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Ashley M. Kirchner
Jeremy Wadsack wrote: > I've always had this "problem" with PHP/MySQL installs. And always > used the --with-mysql setting to point to the only library installed > on the system (which therefore matches the mysqld installed on the > system). Did that and it found the mySQL installation, but

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Jeremy Wadsack
Ashley M. Kirchner ([EMAIL PROTECTED]): > Rasmus Lerdorf wrote: >> 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 syste

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Ashley M. Kirchner
Rasmus Lerdorf wrote: > 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 buil

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Rasmus Lerdorf
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 Lerdor

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Stefan Siefert
hi, hm not sure about but couldn't a symlink help? maybe you should try a symlink /tmp/mysql.sock to the real one.. I'm not sure if you can trick php with this but theoreticaly it could be possible. Greetings, Stefan Siefert - Original Message - From: Ashley M. Kirchner <[EMAIL PROTE

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Ashley M. Kirchner
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

Re: [PHP-INST] MYSQL support

2001-09-22 Thread Rasmus Lerdorf
This is usually caused by a client library mismatch. If you have the mysql client library installed on your system, use: --with-mysql=/usr Assuming your mysql client libs are under /usr/lib somewhere. That should fix it. Otherwise you can specify the socket location right in the mysql_conne

[PHP-INST] MYSQL support

2001-09-22 Thread Ashley M. Kirchner
How can I tell configure where my mysql.sock is located? It seems to like using /tmp/mysql.sock, however that's not where my mysql socket is. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M.

php-install Digest 22 Sep 2001 20:17:55 -0000 Issue 470

2001-09-22 Thread php-install-digest-help
php-install Digest 22 Sep 2001 20:17:55 - Issue 470 Topics (messages 4368 through 4372): Re: File download? 4368 by: Jeremy Wadsack Problem with mail() function when windows 2000(IIS 5.0) is config ured with php4isapi.dll 4369 by: Gossi, Dean Sablot 4370 by: