ID: 33481 Updated by: [EMAIL PROTECTED] Reported By: qjahe at videotron dot ca -Status: Open +Status: Bogus Bug Type: MySQLi related Operating System: Debian 3.1 PHP Version: 5CVS-2005-06-26 (dev) New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. add an extension=mysqli.so line to your php.ini or remove the "shared," part from your configure line... Previous Comments: ------------------------------------------------------------------------ [2005-06-26 18:03:44] qjahe at videotron dot ca I might of forgot to, but I assumed that putting the directive --with-mysqli=shared,/usr/bin/mysql_config would put it on in the php.ini Like I said i'm a bit of a newb and dont know how to "turn it on" in the php.ini. I tried doing a bit of research on the php.net site for "mysqli php.ini" but nothing pointing out how to "turn mySQLi on" in the php.ini. What should I be looking for? I see almost a duplicated of the [MySQL] section except for [MySQLi], does that mean its on? ------------------------------------------------------------------------ [2005-06-26 17:37:21] [EMAIL PROTECTED] --with-mysqli=shared,/usr/bin/mysql_config And what does your phpinfo() tell about MySQLi ? Didn't you forget to turn it on in your php.ini ? ------------------------------------------------------------------------ [2005-06-26 17:13:14] qjahe at videotron dot ca Description: ------------ CVS Built On: Jun 26, 2005 14:30 GMT Used the same configure command for php 5.0.3 and mySQLi was working fine. I am kind of a noob so I havent really touched my config AT ALL on my server. It compiled with no errors... Dont know what i'm doing wrong I've been told to report it here. Fatal error: Class 'mysqli' not found in /path/file.php line # each time I tried to instantiate mySQLi... Again it was working fine with the same exact setup/server with the version 5.0.3. Reproduce code: --------------- ./configure --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-db4=/usr --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gettext --with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-regex=php --with-xml --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --enable-mbstr-enc-trans --enable-mbregex --without-oci8 --with-pear=/usr/share/pear --with-imap-ssl --with-kerberos=/usr/kerberos --with-ldap=shared --with-mysqli=shared,/usr/bin/mysql_config --enable-memory-limit --enable-bcmath --enable-shmop --enable-calendar --enable-dbx --enable-dio --enable-mcal --without-bz2 --disable-short-tags --disable-pear --disable-cgi --with-apxs2=/usr/bin/apxs2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33481&edit=1