mysql

  User-CC451423-468D-451F-9CBC223C3471A828 17:36 06 Dec 2004
Locked

Hi

I am new to mysql, apache and php. After a long struggle I managed to install apache, php and mysql. apache and php working perfect. mysql on its own work ok.
when i try to connect php to mysql using the folllowing command

$LINK = mysql_connect( "localhost" , "mano", "durgakali");

I get the following error message on the browser!!!

Fatal error: Call to undefined function mysql_connect() in c:\program files\apache group\Apache\htdocs\tmp1alx68bw75.php on line 14
any ideas

regards
mano

  harristweed 18:21 06 Dec 2004

I assume you are using PHP5. In PHP 5, MySQL is no longer enabled by default, nor is the MySQL library bundled with PHP.

This is from the php site "Windows users will need to enable php_mysql.dll inside of php.ini and either copy libmysql.dll into the Windows system directory, or make it available to the PATH."

Hope this helps.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

AMD Radeon Adrenalin release date, new features, compatible graphics cards

Indie publisher Canongate’s top 10 book covers of 2017

New iMac Pro release date, UK price & specs rumours

Tablettes Amazon Fire : quel modèle choisir ?