From:             [EMAIL PROTECTED]
Operating system: debian linux potato
PHP version:      4.2.3
PHP Bug Type:     Apache related
Bug description:  PHP --with-mysql reports the wrong client API version

I have MySQL 4.0.4-beta installed. I configured php as follows:

 './configure' '--with-apache=/usr/local/src/apache_1.3.26'
'--disable-magic-quotes' '--disable-short-tags' '--disable-debug'
'--without-gd' '--enable-url-fopen-wrapper' '--enable-track-vars'
'--enable-memory-limit' '--enable-inline-optimization'
'--with-config-file-path=/usr/local/php/ini' '--with-mysql=/usr/local'
'--enable-ftp' '--enable-sockets' '--enable-xml' '--enable-wddx'
'--enable-bcmath' '--with-zlib=/usr' '--with-snmp'
'--enable-ucd-snmp-hack' '--with-openssl' '--with-xmlrpc'

the php binary reports:

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.0.4-beta

apache (mod_php installed) reports:

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.35
-- 
Edit bug report at http://bugs.php.net/?id=19730&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19730&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19730&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19730&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19730&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19730&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19730&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19730&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19730&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19730&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19730&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19730&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19730&r=dst

Reply via email to