#21893 [Opn->Fbk]: PHP Fatal error: Call to undefined function: mysql_stat()

From: Date: Thu, 13 Feb 2003 05:55:10 +0000
Subject: #21893 [Opn->Fbk]: PHP Fatal error: Call to undefined function: mysql_stat()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32976@lists.php.net to get a copy of this message
ID: 21893 Updated by: sniper@php.net Reported By: mark@autumnweave.com -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Linux PHP Version: 4.3.0 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip But I really think you're doing something wrong since it exists always since you use the bundled mysql libs.. Previous Comments: ------------------------------------------------------------------------ [2003-01-26 21:12:23] mark@autumnweave.com Oh yeah, also relevant MySQL 3.23.54a. ------------------------------------------------------------------------ [2003-01-26 21:09:49] mark@autumnweave.com <?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 this bug report at http://bugs.php.net/?id=21893&edit=1

« previous php.bugs (#32976) next »