Re: Problem compiling PHP 5 with MySQLi (64bit)
| From: | (Tiago Freitas Leal) | Date: | Sat, 20 Nov 2004 22:45:26 +0000 |
| Subject: | Re: Problem compiling PHP 5 with MySQLi (64bit) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14771@lists.php.net to get a copy of this message | ||
I guess the "lib not found" error is because you didn't specify the "mysql_config_path"
Quoting the manual...
To install the mysqli extension for PHP, use the --with-mysqli=mysql_config_path/mysql_config configuration option where mysql_config_path represents the location of the mysql_config program that comes with MySQL versions greater than 4.1.
/unquote
Sascha Noethen wrote:
Hi,
I am trying to compile PHP 5 with mysqli support:
../configure --with-mysqli
The result is an error message and I cannot find out how to avoid this error message:
checking for MySQLi support... yes checking whether to enable embedded MySQLi support... no checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. Check config.log for more information.
I am using PHP 5.0.2 and MySQL 4.1.7 for Intel EM64T.
Any hint what I can try?
Sascha