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. Follow instructions at http://php.net/mysql, using the path to your mysql4.1 library

Is this correct: "--with-mysql=/usr"? If not, how can I find out?

3. Tweak your my.cnf so the mysqlclient look at the right places.

What should I tweak? MySQL is the original RPM from MySQL. Version 4.1.3-beta.

Sorry, I think I need more help.

I've read this: "If you would like to install the mysql extension along with the mysqli extension you have to use the same client library to avoid any conflicts.", but I do not understand the meaning of it. There is only one MySQL installation on the server.

This is my configure, which fails:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr --with-apxs2


Thanks,
Jacob

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to