Question
October 3, 2008 at 02:34 PM
wordman1994

Need help with PHP and MySQL set-up on a local host

by wordman1994 . Updated 17 years, 11 months ago

Right. SO here goes…

I am reading PHP Solutions by David Powers, a great book for the beginner. I set up a local host on my hard drive and as instructed, installed the following:

PHP 5.2.6
Apache 2.2
MySQL Server 5.0

When I check phpinfo, I see nowhere on the page anything about mysql or mysqli. I am told by the book that I should see these things…and I am not.

Further, there is no extensions folder in my PHP folder. Thus, I’m not having any luck making progress.

I’m told by the book that I need these files:
php_mysql.dll
php_mysqli.dll

I have read on forums to look in my ext folder, but alas, there is not one. There never was.

So, should I uninstall everything and start over? This is so f-ing frustrating. I never used local host to test my pages before, I would upload them behind one of my domains to check for bugs. Now that I’m learning PHP evveryone is chiding me into setting up a local host, which is taking FOREVER. I mean, the local host works, but PHP doesn’t recognize MySQL…Add to that the cruelly difficult structure of the MySQL website (thanks, engineers!) and this has been one brutal outing for me. I REALLY need some help here. Please?

Thanks all,

Wordman

This discussion is locked

All Comments