|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-26 21:12 UTC] mark at autumnweave dot com
[2003-02-12 23:55 UTC] sniper@php.net
[2003-02-20 08:03 UTC] sniper@php.net
[2003-02-20 14:02 UTC] mark at autumnweave dot com
[2003-02-20 14:25 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Feb 09 08:00:01 2026 UTC |
<?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' ********/ ?>