ID: 42145 Updated by: [EMAIL PROTECTED] Reported By: thierry dot darnaudet at thalesatm dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Linux PHP Version: 5.2.3 New Comment:
Did the snapshot work for you? Previous Comments: ------------------------------------------------------------------------ [2007-07-30 14:57:57] thierry dot darnaudet at thalesatm dot com [Precision]It should be read 'ext/mysqli/php_mysqli.h' i.s.o. 'ext/mysqli/mysqli.h' ------------------------------------------------------------------------ [2007-07-30 14:51:35] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Pretty sure this was fixed last week already. ------------------------------------------------------------------------ [2007-07-30 14:20:33] thierry dot darnaudet at thalesatm dot com Description: ------------ Since Mysql release 5.1.20-beta, 'gptr' char pointer (previously defined in include/mysql.h) does no more exist. Consequently, as mysqli extension intensively needs this definition, the compilation crashes for this extension. I propose to add these three lines within the ext/mysqli/mysqli.h file, just after the 'mysql.h' include line: #if MYSQL_VERSION_ID > 50119 typedef char * gptr; #endif This works fine! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42145&edit=1
