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

Sharninder <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
>
> Fatal: Call to undefined function: mysql_connect() in 
> /var/www/index.php on
> line 4
>
> I have tried with libapache2-mod-php4 (from both ubuntu and debian 
> unstable)
> and libapache2-mod-php5. Exactly the same error. What am I missing? 
> However,
> I noticed that the libapache2-mod-php4 and libapache-mod-php5 from the 
> debian
> unstable are configured as --without mysql (an lot of other things) 
> while
> that on ubuntu is configured with --with mysql.

This seems to be a php error. Post the relevant portion from the php 
source file.

--
Sharninder




-------------------------------------------------------
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.