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
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
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
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
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).
>
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
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
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
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
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
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
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
12 matches
Mail list logo