#21893 [NEW]: PHP Fatal error: Call to undefined function: mysql_stat()

From: Date: Mon, 27 Jan 2003 03:09:50 +0000
Subject: #21893 [NEW]: PHP Fatal error: Call to undefined function: mysql_stat()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31299@lists.php.net to get a copy of this message
From: mark@autumnweave.com Operating system: Linux PHP version: 4.3.0 PHP Bug Type: MySQL related Bug description: PHP Fatal error: Call to undefined function: mysql_stat() <?php /******* Just noticed that since upgrading to 4.3.0 the mysql_stat() function does not seem to work anymore. It did work previously with 4.2.3, log files show php reporting it as an undefined function now. Online documentation shows the function to be available in 4.3.0. *******/ $mysql_link = mysql_connect("mysql_host", "mysql_user", "mysql_password"); $status = explode(' ', mysql_stat($mysql_link)); print_r($status); /******* compile options './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/usr/local/apache/conf' '--disable-short-tags' '--with-zlib' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--enable-ftp' '--with-gd' '--with-ttf' '--enable-gd-native-ttf' '--with-png-dir' '--with-jpeg-dir' '--with-freetype-dir' '--with-xpm-dir' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-mcrypt' '--with-mhash' '--with-ming' '--with-mysql' '--with-mysql-sock' '--with-pgsql' '--with-pspell' '--enable-sockets' '--enable-wddx' '--with-expat' '--with-imagick' '--with-openssl' '--with-curl' '--with-mm' ********/ ?> -- Edit bug report at http://bugs.php.net/?id=21893&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21893&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21893&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21893&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21893&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21893&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21893&r=support Expected behavior: http://bugs.php.net/fix.php?id=21893&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21893&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21893&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21893&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21893&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21893&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21893&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21893&r=gnused

« previous php.bugs (#31299) next »