Re: mysql_connect does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux