PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Wed Jul 14, 2004 9:07 pm
Hey, I just upgraded to php5 and since when I try to use the mysql_* functions it says the function doesn't exist.
What could cause php to not see certain functions?
redmonkey
Forum Regular
Posts: 836 Joined: Thu Dec 18, 2003 3:58 pm
Post
by redmonkey » Wed Jul 14, 2004 9:17 pm
nigma wrote: Hey, I just upgraded to php5 and since when I try to use the mysql_* functions it says the function doesn't exist.
What could cause php to not see certain functions?
I can see this becomming a common question.
The most likely cause for this problem is that you have not read any documentation regarding the chages in PHP5 from PHP4.
PHP5 Change log wrote:
Removed the bundled MySQL client library.
AVATAr
Forum Regular
Posts: 524 Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:
Post
by AVATAr » Wed Jul 14, 2004 9:18 pm
AFAIK you have to enable it. Are you using windows? i supose you have to activate the dll it in the php.ini in windows, or compile it with mysql in linux.
Now PHP 5 has SQLite native.
AVATAr
Forum Regular
Posts: 524 Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:
Post
by AVATAr » Wed Jul 14, 2004 9:19 pm
redmonkey wrote:
PHP5 Change log wrote:
Removed the bundled MySQL client library.
Yep that.... 1 minute later
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Thu Jul 15, 2004 9:21 am
thanks avatar
kettle_drum
DevNet Resident
Posts: 1150 Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England
Post
by kettle_drum » Thu Jul 15, 2004 9:40 am
Should maybe put this sort of stuff in a php 5 FAQ.
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Thu Jul 15, 2004 5:24 pm
You making fun of me ?
kettle_drum
DevNet Resident
Posts: 1150 Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England
Post
by kettle_drum » Thu Jul 15, 2004 5:32 pm
Oh no. Sorry if it sounded like that. But it would be good to get a php 5 FAQ up since it would be of great use to a lot of people - saying whats been added, whats changed, guide to OO, look at new functions, how to install it side-by-side with 4.3.8 etc etc. Just general questions that i think A LOT of people will be asking about in the next few weeks/months.
tim
DevNet Resident
Posts: 1165 Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio
Post
by tim » Thu Jul 15, 2004 5:37 pm
nigma, i think you should whip on kettle
i'll help!
kettle_drum
DevNet Resident
Posts: 1150 Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England
Post
by kettle_drum » Thu Jul 15, 2004 5:39 pm
lol.
*goes to hide*
AVATAr
Forum Regular
Posts: 524 Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:
Post
by AVATAr » Thu Jul 15, 2004 5:52 pm
cof cof
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Thu Jul 15, 2004 9:13 pm
me whip on kettle_drum? master kettle_drum? i wouldn't dare
qads
DevNet Resident
Posts: 1199 Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane
Post
by qads » Thu Jul 15, 2004 11:10 pm
tim wrote: nigma, i think you should whip on kettle
i'll help!
didnt know you were in the kinky stuff tim
tim
DevNet Resident
Posts: 1165 Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio
Post
by tim » Fri Jul 16, 2004 4:49 pm
hahaha I guess a sickly statement deserves one back
point for qads.
qads
DevNet Resident
Posts: 1199 Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane
Post
by qads » Fri Jul 16, 2004 8:37 pm