Stuck on undefined function mysql_connect()
| From: | Nick Khamis | Date: | Thu, 13 Oct 2011 18:19:22 +0000 |
| Subject: | Stuck on undefined function mysql_connect() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315280@lists.php.net to get a copy of this message | ||
I have been stuck on this, and have no idea what is causing it. I have
compiled PHP with mysqli support:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/php --with-mcrypt=/usr/local/bin/mcrypt
--with-mysqli --with-gettext=./ext/gettext --with-pear
--with-libxml-dir=/usr/include/libxml2 --with-zlib --with-gd --enable-pcntl
mysqli MysqlI Supportenabled Client API library version 5.1.49 Active
Persistent Links 0 Inactive Persistent Links 0 Active Links 0 Client API
header version 5.1.49 MYSQLI_SOCKET /var/run/mysqld/mysqld.sock
DirectiveLocal ValueMaster Value mysqli.allow_local_infileOnOn
mysqli.allow_persistentOnOn mysqli.default_host*no value**no value*
mysqli.default_port33063306 mysqli.default_pw*no value**no value*
mysqli.default_socket*no value**no value* mysqli.default_user*no value**no
value* mysqli.max_linksUnlimitedUnlimited mysqli.max_persistentUnlimited
Unlimited mysqli.reconnectOffOff
However, there is no mysqli.so or mysql.so found anywhere? Please help, I
have fallen behind because of this.
Nick.