Hi all,

I have installed MySQL Server 4.1.7 on a Linux Fedora Core 3 machine. It works great locally and remotely. This machine also supposed to act as a web server by using Apache 2.0.52 and it works fine too. Apache is enhanced with PHP and they works together perfect. The only problem is with using MySQL through PHP. I think PHP should automatically use its built-in functions to manipulate MySQL databases, isn't it ? When I run this little PHP script I always get fail error message:

/[EMAIL PROTECTED]("localhost", "root", "myrootpass");
if  (!$link_id)
  {
   echo "Failed !";
   exit;
   }
*/
Should I change something in php.ini ?

Thanks,

Danesh Daroui




Reply via email to