Re: Compile Php5: --with-mysql and --with-mysqli
| From: | Red Wingate | Date: | Wed, 14 Jul 2004 11:31:35 +0000 |
| Subject: | Re: Compile Php5: --with-mysql and --with-mysqli | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190460@lists.php.net to get a copy of this message | ||
[quote src="doc"]
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.
[/quote]
Jacob Friis Larsen wrote:
> 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 --with-mysql=/usr/include/mysql
> --with-mysqli=/usr/bin/mysql_config
>
> The last gave me a lot of errors.
>
>
> Thanks,
> Jacob