hey guys I've install Nginx Php and Mysql.
actually Mysql was already installed which is working perfect with mysql workbench.
in Nginx Localhost
when i create index.php
as
<?php
mysql_connect("localhost","root","password") or die(mysql_error());
phpinfo();
?>
it gives me internal server error 500
then i commentout line mysql_connect and it actually works.
from yakuake i write
mysql -u root -ppassword and i connect mysql without any problem...
well my question is what can be the problem ?
Ps:I am using Ubuntu 11.10
Edited 1 time(s). Last edit at 02/20/2012 01:32PM by rodrane.