ID: 30923 User updated by: mfurdyk at takingitglobal dot org Reported By: mfurdyk at takingitglobal dot org Status: Bogus Bug Type: MySQL related Operating System: RH 7.3 PHP Version: 4.3.9 New Comment:
No, I don't (at this point) care about using those features, I just want to know why the Client API version is setting at 3.X -- does this matter? It just seems weird, and thought it might explain some random mySQL errors (unable to save result set) that someone suggested were due to incorrect Client API. -- In terms of mySQLi, is there a way to have the existing mysql_query / mysql_fetch_assoc use the mysqli variants without doing a huge find/replace on all code? Previous Comments: ------------------------------------------------------------------------ [2004-11-29 00:10:20] [EMAIL PROTECTED] If you want to use the new features of MySQL 4.1+, like the new binary protocol, you need to use PHP 5 and the MySQLi extension. (MySQLi, not MySQL.) You cannot use the new client protocol with PHP 4. ------------------------------------------------------------------------ [2004-11-28 23:43:43] mfurdyk at takingitglobal dot org updated summary...kept old one. ------------------------------------------------------------------------ [2004-11-28 23:41:05] mfurdyk at takingitglobal dot org Description: ------------ I'm trying to upgrade the Client API version, and I've upgraded mySQL, deleted the old libraries, and installed the new 4.1.7-Shared and devel packages, but with --with-mysql=user and --with-mysql=/path/to/mysql, the old client API version still sticks around. With a new server I've installed, it pops up to 4.1.7 fine. Reproduce code: --------------- Here's my build: './configure' '--with-mysql=/usr' '--with-apxs=/usr/local/apache/bin/apxs' '--with-zlib' '--with-gd=/usr/local/lib' '--with-jpeg-dir=/usr/local/bin' '--with-png-dir=/usr/lib' '--enable-inline-optimization' '--with-curl' '--disable-debug' '--with-mcrypt=/usr/local/src/libmcrypt-2.5.7' '--with-mhash' '--enable-ftp' '--enable-mbstring' Expected result: ---------------- Upgrade to 4.1.7 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30923&edit=1