Help for PHP/mySQL newb

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

Post Reply
ChickenBoy
Forum Newbie
Posts: 2
Joined: Mon Mar 13, 2006 1:28 pm

Help for PHP/mySQL newb

Post by ChickenBoy »

Hi all, hope this isn't too dumb of a question.

I just installed PHP 5 and mySQL 5 on my local machine and all seems good except php can't connect to mySQL. I'm guessing I need the mysqli.dll library in order to use the nifty new password hashing deal in mySQL. I can't find that dll anywhere. It's not on my box, it's not anywhere.

Also, when I upload the product I'm working on to the production environment, can I do something to be sure that the DLL will be available to my code there?

Thanks...
ody
Forum Contributor
Posts: 147
Joined: Sat Mar 27, 2004 4:42 am
Location: ManchesterUK

Post by ody »

As you say, your a new to all this, so to take the strain out of it all and install http://www.en.wampserver.com/ (wamp) instead, download install done. Basicly its Apache, MySQL and PHP rolled into one and pre-setup for you.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

If you used the installer for php it doesn't come with a lot of files, extensions mostly. The zip version has the extensions you need.
ody
Forum Contributor
Posts: 147
Joined: Sat Mar 27, 2004 4:42 am
Location: ManchesterUK

Re: Help for PHP/mySQL newb

Post by ody »

ChickenBoy wrote:Hi all, hope this isn't too dumb of a question.
Also, when I upload the product I'm working on to the production environment, can I do something to be sure that the DLL will be available to my code there?
Thanks...
I wouldnt worry about that, 99.99% of php web providers have MySQL setup and ready, plus its likely a .so not a .dll.. its a linux thing.
Post Reply