Re: mysql_connect() problem
| From: | David Smith | Date: | Mon, 17 Mar 2003 14:53:46 +0000 |
| Subject: | Re: mysql_connect() problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26419@lists.php.net to get a copy of this message | ||
You need to install the php-mysql rpm. You can get this on your RedHat CD,
or through apt-get:
apt-get install php-mysql
Get apt here: http://apt.freshrpms.net/
Does the PHP project ever plan to do something as impressive as CPAN so
users won't have to reinstall or recompile just to extend its
functionality?
--Dave
<quote who="Indrajit Paul">
>
> Hi,
>
> I am using Apache 2 in Linux 8 .Whenever in my php script I want to
> connect to mysql through mysql_connect() function a error occured.
>
> My script is like that
> $linlid=mysql_connect("localhost","user1","user1")or
> die("Connections
> failed");
> print "Connected successfully";
>
> The script writes this.....
> %%%%%%%%%%%%%
> Fatal error: Call to undefined function: mysql_connect()
>
> Please help me.I have installed Apache and php through RPM.
> Anybody can help me.
>
> Indrajit
>
>
>
>
>
> _________________________________________________________________
> Get more buddies in your list. Win prizes
> http://messenger.msn.co.in/promo
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php