I am trying to compile PHP5.0.3 with MySQLi extension and I get the follow error when I do --with-mysqli:
Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. "cl.exe" /D _USRDLL /D PHP5DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPOR TS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x400 /DHAVE_NEWAPIS_H=1 -Iext/bcma th/libbcmath/src /I "C:\php-5.0.3\php_build\win32build\include" /I "C:\php-5 .0.3\php_build\win32build\include" -DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_ THRESHOLD=10 -Iext/pcre/pcrelib -DNO_RECURSE /D PHP_SQLITE_EXPORTS /I ext\sqli te/libsqlite/src /D ZLIB_EXPORTS /nologo /YX /FD /I . /I main /I regex /I Zend /I TSRM /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /LD /MD /W 3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GB /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "C:\php-5.0.3\php_build\win32build\include" /D FD_SETSIZE=256 /FoRelea se_TS\main\ /FdRelease_TS\main\ /FpRelease_TS\main\ /FRRelease_TS\main\ -c main\ internal_functions.c -o Release_TS\main\internal_functions.obj internal_functions.c ext\mysqli\php_mysqli.h(48) : error C2061: syntax error : identifier 'MYSQL_STMT ' ext\mysqli\php_mysqli.h(52) : error C2059: syntax error : '}' ext\mysqli\php_mysqli.h(85) : error C2065: 'LOCAL_INFILE_ERROR_LEN' : undeclared identifier ext\mysqli\php_mysqli.h(85) : error C2057: expected constant expression ext\mysqli\php_mysqli.h(86) : error C2229: struct '__unnamed' has an illegal zer o-sized array ext\mysqli\php_mysqli.h(113) : error C2143: syntax error : missing ')' before '* ' ext\mysqli\php_mysqli.h(113) : error C2143: syntax error : missing '{' before '* ' ext\mysqli\php_mysqli.h(113) : error C2059: syntax error : ')' C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tc pip.h(647) : warning C4142: benign redefinition of type NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' Stop. However, I do have the updated MySQL libs in the lib/ folder. I tried doing --with-mysql --with-mysqli to see if it that worked, but it didn't work either. TIA -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php