php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5961 Call to unsupported or undefined function mysql_connect()
Submitted: 2000-08-04 12:52 UTC Modified: 2000-08-04 12:57 UTC
From: ndminh at ifi dot edu dot vn Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.0 OS: Linux RedHat
Private report: No CVE-ID: None
 [2000-08-04 12:52 UTC] ndminh at ifi dot edu dot vn
<?php
echo "<html>";
echo "PHP Exemple";
$link = mysql_connect ("laos", "nnhoa", "nnhoa") {
	or die ("Could not connect");
} 
print ("Connected successfully");
mysql_close ($link);
echo "</html>";
?>


I have installed PHP 4.0.0 with --with-mysql=
I have followed exactely the manual

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-04 12:57 UTC] rasmus@php.net
You didn't install it right.  Please direct your questions about this to php-install@lists.php.net as this is certainly not a bug.  MySQL support works fine.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 07:01:33 2024 UTC