Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Problem compiling PHP 5 with MySQLi (64bit)
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

Report this thread to moderator Post Follow-up to this message
Old Post
Sascha Noethen
11-18-04 08:57 PM


Re: Problem compiling PHP 5 with MySQLi (64bit)
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

Report this thread to moderator Post Follow-up to this message
Old Post
Tiago Freitas Leal
11-21-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:00 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.