note 75095 rejected from faq.databases by nlopess
| From: | nlopess@php.net | Date: | Sat, 12 May 2007 11:25:06 +0000 |
| Subject: | note 75095 rejected from faq.databases by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126437@lists.php.net to get a copy of this message | ||
Note Submitter: nairgh at hotmail dot com
----
I installed php 5,apache 2.2.4 and MySQL 5.0. Everything seems to be ok. Only problem is cannot
connect to mysql database. When i tried to connect to mysql through a php page it says 'Call
to undefined function mysql_connect'. What could be wrong. I check and modified the libraries
and ini files as per the documentation. The phpinfo() shows the following trace
MysqlI Support enabled
Client API library version 5.0.37
Client API header version 5.0.36
MYSQLI_SOCKET /tmp/mysql.sock
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
Is anybody have the same problem or knows how to solve this.