Re: [PHP-INST] Mysql support in linux

2002-03-17 Thread Rasmus Lerdorf
If you have --with-mysql=shared that means that you built a mysql.so which you have to manually enable in your php.ini file with a line like, "extension=mysql.so" assuming you put this mysql.so file in your extension_dir. -Rasmus On Sun, 17 Mar 2002, Glen wrote: > Hello All, > > I am having tro

Re: [PHP-INST] Mysql support

2002-01-29 Thread Uma Shankari T.
I have tried that code it is giving all the information about php. I am using php and mysql for webpage designing and apache for authentication.I am working in linux platform.I don't know the people who worked before me installed using binary or source.Manually it is connecting to mysql like thi

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
er <[EMAIL PROTECTED]> To: PHP-Install List <[EMAIL PROTECTED]> Sent: Saturday, September 22, 2001 11:13 PM Subject: Re: [PHP-INST] MYSQL support > Rasmus Lerdorf wrote: > > > This is usually caused by a client library mismatch. If you have the > > mysql clie

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