MySQL Forums
Forum List  »  PHP

Re: Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\practice\testsql.php on line 17
Posted by: sanjeev thakur
Date: February 22, 2009 05:46AM

I have installed php5.1 and mysql5.0 with apache2 installed.My operating system is windows.Though php and mysql are running but individually but i am not able to connect them.In the browser its showing ,Fatal error: Call to undefined function mysql_connect() .
I have made changes in php.ini file located in C:\windows.the changes made are
->specifying the path in the extension directory i.e
converting extension_dir=".\" to extension_dir="C:\php\ext" where the file php_mysql.dll is kept
and uncommented the extension i.e
:extension=php_mysql.dll to extension=php_mysql.dll

kindly someone help.lots of days have been waisted to solve the problem

Options: ReplyQuote


Subject
Written By
Posted
Re: Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\practice\testsql.php on line 17
February 22, 2009 05:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.