Re: mysql_connect does not work
| From: | RichAppsConsulting | Date: | Mon, 08 Sep 2008 08:03:10 +0000 |
| Subject: | Re: mysql_connect does not work | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-19414@lists.php.net to get a copy of this message | ||
Run this function from your web server <?php phpinfo(); ?> and try to find
mysql. If MySQL is enabled then you can find its detail view other wise
won't.
By defualt in php5 it is not enabled.you have to enabled mysql by yourself.
Murat Ohannes Berin wrote:
>
> Hi,
>
> I have PHP5 running on a Debian Linux machine. MySQL is also running. But
> when I use the function "mysql_connect()" in PHP I get the message
>
> Fatal error: Call to undefined function mysql_connect() in
> /var/www/php/test.php on line 10
>
> Is this a setp up issue?
>
> Murat
>
>
-----
[url="http://www.richappsconsulting.com/"]Rich
Internet Applications[/url]
[b]We code faster...[/b]
--
View this message in context: http://www.nabble.com/mysql_connect-does-not-work-tp19321776p19367637.html
Sent from the Php - Install mailing list archive at Nabble.com.