#19730 [NoF->Opn]: PHP --with-mysql reports the wrong client API version
| From: | shane at sell dot com | Date: | Mon, 28 Oct 2002 21:42:28 +0000 |
| Subject: | #19730 [NoF->Opn]: PHP --with-mysql reports the wrong client API version | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23597@lists.php.net to get a copy of this message | ||
ID: 19730
User updated by: shane@sell.com
Reported By: shane@sell.com
-Status: No Feedback
+Status: Open
Bug Type: MySQL related
Operating System: debian linux potato
PHP Version: 4.2.3
New Comment:
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]#
Previous Comments:
------------------------------------------------------------------------
[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..
------------------------------------------------------------------------
[2002-10-04 19:21:39] shane@sell.com
yes, it does. Both the binary build and the apache module were built on
October 2, 2002, and they both show the correct build date.
------------------------------------------------------------------------
[2002-10-04 18:29:07] sniper@php.net
Can you check what the build-date is in the phpinfo output where the
incorrect mysql version is shown?
(2nd line, iirc)
Does it match the date you build it?
------------------------------------------------------------------------
[2002-10-04 13:08:36] shane@sell.com
Additionally, as I stated earlier, the PHP binary and the PHP Apache
modules are being compiled on the same server, with the same configure
options (except --with-apache).
Nothing on the server was changed between building the binary and the
module. They both used clean source trees (freshly untarred, even). The
binary reports the correct version, the module does not. The module
also does not report the version of the included MySQL libs, instead it
reports a version of MySQL that has never been installed on the server.
------------------------------------------------------------------------
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