ID: 33481 User updated by: qjahe at videotron dot ca Reported By: qjahe at videotron dot ca -Status: Feedback +Status: Open Bug Type: MySQLi related Operating System: Debian 3.1 PHP Version: 5CVS-2005-06-26 (dev) New Comment:
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? Previous Comments: ------------------------------------------------------------------------ [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