Re: Compile Php5: --with-mysql and --with-mysqli
| From: | Marek Kilimajer | Date: | Thu, 15 Jul 2004 06:51:31 +0000 |
| Subject: | Re: Compile Php5: --with-mysql and --with-mysqli | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190573@lists.php.net to get a copy of this message | ||
Jacob Friis Larsen wrote:
Curt Zirzow wrote:execute /usr/bin/mysql_config --include. It's the path without include/mysql. Also make sure you don't have multiple libraries installed, you should install MySQL-shared-compat*.rpm* Thus wrote Jacob Friis Larsen:Is this correct: "--with-mysqli=/usr/bin/mysql_config"? (This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2)How do I install Php5 with both --with-mysql and --with-mysqli?1. Follow instructions at http://php.net/mysqli.Is this correct: "--with-mysql=/usr"? If not, how can I find out?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 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