Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-15 Thread Jacob Friis Larsen
Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: --with-mysqli=/usr/bin/mysql_config? (This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2) 2.

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-15 Thread Marek Kilimajer
Jacob Friis Larsen wrote: Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: --with-mysqli=/usr/bin/mysql_config? (This works: ./configure

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-15 Thread Jacob Friis Larsen
execute /usr/bin/mysql_config --include. It's the path without include/mysql. In that case my configure is correct: ./configure --disable-all --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr --with-apxs2 Also make sure you don't have multiple libraries installed, you should install

[PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
How do I install Php5 with both --with-mysql and --with-mysqli? MySQL is 4.1.3-beta and installed as official MySQL RPM. This didn't work: ./configure --with-mysql=/usr/include/mysql --enable-embedded-mysqli ./configure --with-mysql=/usr/include/mysql --with-mysql=/usr/bin/mysql_config ./configure

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Curt Zirzow
* Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. 2. Follow instructions at http://php.net/mysql, using the path to your mysql4.1 library 3. Tweak your my.cnf so the mysqlclient look at the right