Just to clarify, this applies only to the 5_3 branch.

May the source be with you,
Best regards,
Jess Portnoy



Jess Portnoy wrote:
Hello all,

My configure command is as follows:
./configure --disable-xml --disable-dom --disable-libxml --disable-simplexml --without-pear --disable-xmlreader --disable-xmlwriter --without-iconv

I then archive the result and use it to build various PHP extensions, among which MySQLi. Since I did not configure with mysqlnd, I do not have ext/mysqlnd copied onto $PHP_PREFIX/include/php/ext, causing this following code to fail compilation:
#include "ext/mysqlnd/mysqlnd_portability.h"

Attached is a suggested patch for php-5.3.1/ext/mysqli/mysqli.c and php-5.3.1/ext/mysqli/mysqli_api.c, basically:
+#ifdef MYSQLI_USE_MYSQLND
#include "ext/mysqlnd/mysqlnd_portability.h"
+#endif

Thanks in advance,


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to