For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2004 > Problem compiling PHP 5 with MySQLi (64bit)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem compiling PHP 5 with MySQLi (64bit)
Sascha Noethen

2004-11-18, 3:57 pm

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
Tiago Freitas Leal

2004-11-20, 8:55 pm

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com