ID: 33228 Updated by: [EMAIL PROTECTED] Reported By: beena at blr dot cmc dot net dot in -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Windows 2000 Server PHP Version: 5.0.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Read the docs again. Previous Comments: ------------------------------------------------------------------------ [2005-06-03 10:44:23] beena at blr dot cmc dot net dot in Description: ------------ i have loaded PHP 5.0.4 on Windows 2000 server, IIS 5 & MySQL 4.1. when i try to run a php script to establish a connection with MySQL, it gives me a Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\estbconn.php on line 2 in the script file. i am able to use MySQL @ command line. i have copied the file libmysql.dll to c:\winnt\system32 folder and it also exists in c:\PHP folder. i have also set the path in for C:\PHP. pls help me in order to enable me to execute more PHP scripts for MySQL database Reproduce code: --------------- <?php $connection=mysql_connect("localhost","root","sql123") or die("A connection to server could not be established"); echo "root user login in MySQL server @ localhost successful"; ?> Expected result: ---------------- connectivity to happen Actual result: -------------- Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\estbconn.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33228&edit=1