Re: [PHP] Installing PHP with MySQL RPM version

2003-09-10 Thread Marek Kilimajer
As mysql is from an rpm, I bet it is in /usr, so use --with-mysql=/usr Also make sure mysql-devel rpm is installed. Mark McCulligh wrote: I am trying to ./configure PHP 4.3.3 on a system that already has MySQL 4.0.14 on it. In the configure line --with-mysql=/path/to/mysql were is the path for RPM

[PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Mark McCulligh
I am trying to ./configure PHP 4.3.3 on a system that already has MySQL 4.0.14 on it. In the configure line --with-mysql=/path/to/mysql were is the path for RPM versions of MySQL. I have search the computer but it looks like the mysql files are all over the place. Database files are in

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Ray Hunter
In the configure line --with-mysql=/path/to/mysql were is the path for RPM versions of MySQL. I have search the computer but it looks like the mysql files are all over the place. Database files are in /var/lib/mysql BIN files are in /usr/bin/, etc... use --with-mysql or --with-mysql-sock

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Mark McCulligh
Thanks, If you just use --with-mysql it will use PHP's built-in mysql client lib 3.23.49, but I have MySQL 4.0.14 installed. Won't this make a difference. I want to make sure PHP is compiled this the right libraries for MySQL. Mark. Ray Hunter [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Ray Hunter
mark, from what i understand of the configuration script it will go out and look in various locations for the mysql libraries. If you want to specify something then I would suggest using the --with-mysql-sock and pass the socket file. I like to use the socket file and have always had great

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Mark McCulligh
Ok, when I compiled with --with-mysql only, phpinfo() said: Client API version: 3.23.49 I will recompile PHP with --with-mysql-sock instead. I want to make sure PHP is using the right MySQL Client version. Thanks, Mark. Ray Hunter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: [PHP] Installing PHP with MySQL RPM version

2003-09-09 Thread Brad Pauly
Mark McCulligh wrote: when I compiled with --with-mysql only, phpinfo() said: Client API version: 3.23.49 I will recompile PHP with --with-mysql-sock instead. I don't think this will change the client version. It is my understanding that this will just tell the client to look in a specific place