Re: [LIP] Call to undefined function: mysql_connect() in php

[email protected]
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Ajitabh Pandey posted in linux-india-programmers:
> It might be something very small I am missing, but this has now eaten up a
> lot of my time. I am sure some of you will surely know what is wrong. When I
> try to connect to a mysql database, I get the following error:
> 
> Fatal: Call to undefined function: mysql_connect() in /var/www/index.php on
> line 4

I don't know about debian and its derivatives, but in Redhat at least,
you need php-mysql RPM to connect to a mysql DB from a PHP program.

Binand



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.