Thanks!
I was able to get native mysql support by adding
extension=mysql.so
to php.ini. So now mysql_connect() works
John Coder wrote:
While Micah is correct, you do have mysql support on php but as a dbs
not the built in php fuctions. Therefore you must use the dbx functions
instead.
Hello,
I've a rather complete php install on redhat 7.3, yet I cant't get php
to connect to mysql. I get:
Fatal error: Call to undefined function: mysql_connect() in
...
It seems that the necessary packages are installed:
[root@axon ~]# rpm -qa | grep php
php-4.1.2-7.3.4
It doesn't appear you have the PHP MySQL functions installed. When you run
phpinfo() you should get something like:
mysql
MySQL Supportenabled
Active Persistent Links1
Active Links1
Client API version3.23.39
MYSQL_MODULE_TYPEbuiltin
MYSQL_SOCKET/var/lib/mysql/mysql.sock
MYSQL_INCLUDE
MYSQL_LIBS
While Micah is correct, you do have mysql support on php but as a dbs
not the built in php fuctions. Therefore you must use the dbx functions
instead.
John Coder
On Sat, 2002-11-02 at 14:35, Micah Stevens wrote:
It doesn't appear you have the PHP MySQL functions installed. When you run