Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
olifile
Forum Newbie
Posts: 6 Joined: Fri Aug 11, 2006 11:00 am
Post
by olifile » Wed Oct 18, 2006 9:26 am
Hi..
I have a big problem in my server.
Code: Select all
Fatal error: Call to undefined function: mysql_connect()
what it can be?
Oren
DevNet Resident
Posts: 1640 Joined: Fri Apr 07, 2006 5:13 am
Location: Israel
Post
by Oren » Wed Oct 18, 2006 10:08 am
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.
John Cartwright
Site Admin
Posts: 11470 Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:
Post
by John Cartwright » Wed Oct 18, 2006 10:19 am
Moved to Apache, IIS, and Webservers.
In your PHP.ini, you have the remove the ; from the line (it may be slightly different)
Oren
DevNet Resident
Posts: 1640 Joined: Fri Apr 07, 2006 5:13 am
Location: Israel
Post
by Oren » Wed Oct 18, 2006 10:26 am
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.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Oct 18, 2006 11:08 am
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.
Oren
DevNet Resident
Posts: 1640 Joined: Fri Apr 07, 2006 5:13 am
Location: Israel
Post
by Oren » Wed Oct 18, 2006 11:12 am
Read my post again
feyd ... I said "might", not "have" - small difference
olifile
Forum Newbie
Posts: 6 Joined: Fri Aug 11, 2006 11:00 am
Post
by olifile » Wed Oct 18, 2006 5:58 pm
tanks!!
the php4-mysql are not installed
Solved..