Cannot build ext/mysql together with ext/mysqli and apache2
| From: | Jacob Friis Larsen | Date: | Wed, 14 Jul 2004 09:48:28 +0000 |
| Subject: | Cannot build ext/mysql together with ext/mysqli and apache2 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190456@lists.php.net to get a copy of this message | ||
I can only make it work, when not compiling php as
a module.
This works:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config
--with-mysql=/usr/include/mysql
This doesn't:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config
--with-mysql=/usr/include/mysql --with-apxs2
I use:
Apache 2.0.49 (Fedora Core 1 RPM)
Php 5.0.0
MySQL 4.1.3-beta (MySQL RPM)
Any ideas?
Thanks,
Jacob
Georg Richter wrote:
Am Mi, den 14.07.2004 schrieb Jacob Friis Larsen um 8:04: Hi!Could you show me your configure statement. I can't make it work.System Linux beethoven 2.6.5-7.95-default #1 Thu Jul 1 15:23:45 UTC 2004 i686 Build Date Jul 14 2004 09:30:39 Configure Command './configure' '--disable-all' '--with-pcre-regex' '--with-mysqli=/usr/local/mysql-4.1/bin/mysql_config' '--with-mysql=/usr/local/mysql-4.1' '--with-apxs2=/usr/local/apache2/bin/apxs' Versions: Apache 2.0.50 latest PHP5 CVS MySQL 4.1.4-beta (works with 4.1.3-beta too) Hope, this will help! /Georg