#19730 [Com]: PHP --with-mysql reports the wrong client API version

From: Date: Mon, 17 Sep 2007 06:14:26 +0000
Subject: #19730 [Com]: PHP --with-mysql reports the wrong client API version
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-117596@lists.php.net to get a copy of this message
ID: 19730 Comment by: maneeshabraham at gmail dot com Reported By: shane at sell dot com Status: No Feedback Bug Type: MySQL related Operating System: debian linux potato PHP Version: 4.2.3 New Comment: I have just Installed Apache2.0.59,Php 4.4.7 and MySQL 4.1.22 on windows 2003 server. When I run the phpinfo.php script, I see that the MySQL Client API version is 3.23.49 ,Shouldn't the MySQL Client API version be 4.1.12 to match the MySQL version? If so, what file(s) should I replace? Previous Comments: ------------------------------------------------------------------------ [2002-11-14 01:45:47] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-10-28 17:40:10] sniper@php.net That compile error is fixed. Please try more recent snapshot tomorrow. ------------------------------------------------------------------------ [2002-10-28 15:42:28] shane at sell dot com Apologies for the delay; the previous message got lost in my inbox and I forgot to check up on it. I am unable to build from the snapshot. I grabbed the latest snapshot, and ran buildconf in the root of the source tree. then I ran my configure line (pasted earlier). Error follows: [root@aqua php4-200210280900]# make gcc -Iext/sockets/ -I/usr/local/src/php4-200210280900/ext/sockets/ -DPHP_ATOM_INC -I/usr/local/src/php4-200210280900/include -I/usr/local/src/php4-200210280900/main -I/usr/local/src/php4-200210280900 -I/usr/local/src/php4-200210280900/Zend -I/usr/local/ssl/include -I/usr/local/include/mysql -I/usr/local/include/ucd-snmp -I/usr/local/src/php4-200210280900/ext/xml/expat -I/usr/local/include -I/usr/local/src/php4-200210280900/TSRM -g -O2 -c /usr/local/src/php4-200210280900/ext/sockets/sockets.c -o ext/sockets/sockets.o && echo > ext/sockets/sockets.lo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory /usr/local/src/php4-200210280900/ext/sockets/sockets.c:276: conflicting types for `php_read' /usr/local/src/php4-200210280900/ext/sockets/php_sockets.h:105: previous declaration of `php_read' make: *** [ext/sockets/sockets.lo] Error 1 [root@aqua php4-200210280900]# ------------------------------------------------------------------------ [2002-10-27 19:12:20] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-10-12 10:23:45] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Even as I'm pretty sure this is some problem in your system or an user error.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19730 -- Edit this bug report at http://bugs.php.net/?id=19730&edit=1

« previous php.bugs (#117596) next »