List:Internals« Previous MessageNext Message »
From:Michael Widenius Date:October 26 2001 2:15pm
Subject:Re: PHP and MySQL 4.0.0
View as plain text  

>>>>> "Sebastian" == Sebastian Bergmann <sb@stripped>
> writes:

Sebastian> Michael Widenius wrote:
>> The symbol 'mysql_module_entry' doesn't come from the MySQL library,
>> so this is a PHP problem.

Sebastian>   Okay.

>> Note that you can use MySQL 4.0 with the old MySQL 3.23 library
>> without any problems.

Sebastian>   Yes, it works fine if I use the libmysql that is bundled with PHP. Only
Sebastian>   when I ./configure --with-mysql=/usr/local/mysql and link PHP against
Sebastian>   the MySQL 4.0.0 library this problem occurs.

The problem could be that some structs has changed between MySQL 3.23
and 4.0;  To get 4.0 to works, you need to recompile all object files
that uses the libmysql library to use the 4.0 include headers.

Could you try to recompile the mysql-php module with the 4.0 header
files and check if this helps ?