Re: [PHP] configure problem: --with-mysql=/what exactly?

2001-11-20 Thread Arpad Tamas

Hi,
Do you have msyql-dev (or similar) package installed?
Arpi

 I have tried the following, each time removing config.cache
 beforehand:

 --with-mysql=/usr
 --with-mysql=/usr/include
 --with-mysql=/usr/include/mysql
 --with-mysql=/usr/lib

 According to a friend with mysql Debs installed it should be the
 first, yet PHP tells me each time it's using the bundled MySQL
 version and to be careful of running it with other mysql-using
 modules.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] configure problem: --with-mysql=/what exactly?

2001-11-19 Thread James Green

Hi all,

I have Debian Sid, I have Apache installed by source, and am trying to
install the source of PHP4.0.6. For reasons I won't go into, I cannot
use the Debian packages of Apache or PHP.

The problem is when I come to configure PHP with mysql support. I have
MySQL debs installed: mysql-server, mysql-client, libmysqlclient10-dev.
I can see the mysql libs in /usr/lib/, and the headers in
/usr/include/mysql/.

I have tried the following, each time removing config.cache beforehand:

--with-mysql=/usr
--with-mysql=/usr/include
--with-mysql=/usr/include/mysql
--with-mysql=/usr/lib

According to a friend with mysql Debs installed it should be the first,
yet PHP tells me each time it's using the bundled MySQL version and to
be careful of running it with other mysql-using modules.

Any ideas why configure doesn't pick up my local MySQL installation? It
certainly picks up the currect socket path.

Many thanks,

James Green



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]