Page 1 of 1
problem in php and mysql
Posted: Wed Oct 18, 2006 9:26 am
by olifile
Hi..
I have a big problem in my server.
Code: Select all
Fatal error: Call to undefined function: mysql_connect()
what it can be?
Posted: Wed Oct 18, 2006 10:08 am
by Oren
I bet you upgraded from PHP 4 to PHP 5. Am I right?
P.S This isn't the right forum for this question by the way.
Posted: Wed Oct 18, 2006 10:19 am
by John Cartwright
Moved to Apache, IIS, and Webservers.
In your PHP.ini, you have the remove the ; from the line (it may be slightly different)
Posted: Wed Oct 18, 2006 10:26 am
by Oren
You might need to copy the
php_mysql.dll file to the
system32/ folder if you are on windows XP. If you are on a *nix system I have no idea
P.S All said above is true only in case you upgraded from PHP 4 to PHP 5.
Posted: Wed Oct 18, 2006 11:08 am
by feyd
Since when have we had to have the extension dll's in system32 or any other Windows controlled folder? PHP wants to find them where ever your extension_dir (and only there) is pointing.
Posted: Wed Oct 18, 2006 11:12 am
by Oren
Read my post again
feyd... I said "might", not "have" - small difference

Posted: Wed Oct 18, 2006 5:58 pm
by olifile
tanks!!
the php4-mysql are not installed
Solved..