RE: Compiling an PHP 4.0 module with MySQL

2001-06-09 Thread Keith Attfield
Gabriele, Thank you for your interest. I am using /usr/bin/ because this is where my mysql file is, and my libmysqlclient.* files are in /usr/lib/. I tried using just /usr (i.e. --with-mysql=/usr) as you suggest, but get the same results. In fact the file mysql.h is not anywhere in my

RE: Compiling an PHP 4.0 module with MySQL

2001-06-08 Thread Gabriele Bartolini
./configure --with-mysql=/usr/bin --with-apxs --enable-track-vars Ciao, sorry but I just joined this mailing list, so I am not aware of any previous messages. /usr/bin ? Why in that directory? Can I please get to know how did you install MySQL? By RPM? Please try these 2 find

RE: Compiling an PHP 4.0 module with MySQL

2001-06-08 Thread oltra jean-michel
The Linux kernel is 2.2.13 and has been installed from a Mandrake distribution. This is also the source of Apache, PHP 3 and MySQL. The distribution puts files in non-standard places so I am wondering if the solution to my problem is to find the right base directory to use in the

RE: Compiling an PHP 4.0 module with MySQL

2001-06-07 Thread Keith Attfield
Harry, Thank you it worked, although I don't know why, in fact using 127.0.0.1 without the port also worked. Previously I had been using localhost to define the host in my connect functions. I had another reply but this was sent to me directly. This said: ./configure --with-mysql=/usr/bin

RE: Compiling an PHP 4.0 module with MySQL

2001-06-06 Thread Harry Bakken
I had the same problem, though I did not know the cause. The work-around I used was to use 127.0.0.1:3306 as the hostname for connecting in the script. Harry -Original Message- From: Keith Attfield [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 11:39 AM To: