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: vahid kh
Date: April 16, 2008 08:54AM

Hello All,
Fatal error: Call to undefined function mysql_connect()

After doing every thing fnally here is how it works for me.
I am working on:
MYSQL5 / Apache 2 / PHP 5.2.2 // Apache does not matter if it is 2 or 2.2
Follow this guy's steps for installation (almost same as every where)
http://drupal.org/node/22639
**********************************************************
COPPY these files:
php5apache2.dll
php5ts.dll
php_mysql.dll
libmysql.dll
libmysqli.dll

in to c:\windows\system32 (I am sure you already did it before) NOW TRY THIS, COPPY THOSE 5 FILES IN TO YOUR APACHE SERVER WHICH YOU SETUP, for me it is
V:\webserver\mysql\bin
you can see the effect by running your phpinfo() file.
good luck

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
April 16, 2008 08:54AM


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.