PHP can't find mySQL

PHP3 is running fine with Apache (win32 versions). I have installed mySQL and uncommended the php3_mysql.dll from the php.ini (in Windows directory). However - when I run phpInfo() - mySQL does not show up. I can turn other modules on & off by simply commenting/uncommenting the files in php.ini - but mySQL will not register. mySQL is fine from it's monitor (dos) but can't talk to php. They do sit on different drives - mySql is in C:\ and php, apache etc are in f:\. Is there a path I need to specify or something? Is it an Apache configuration? I can't find mySQL anywhere in conf file....?

Thanks
yungAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

logan69Commented:
Im not sure about windows but under linux you have to recompile php to include some modules.
0
oubelkasCommented:
Yes, you must compile php using "make" for it to use. Where's mySQL situated if I may ask, is it on a Linux/Unix platform or Windows? I recommend using Linux as your server and you might use Win NT as your client (use with PHP). You might want to check

http://www.hotwired.com/webmonkey/databases/tutorials/tutorial4.html

I've heard from the ones here in the company I work that this is a good tutorial for installing PHP and mySQL.

Joseph

PS: logan69, you could post your answer as a comment, since the answer you gave doesn't solve the problem immediately...
0
yungAuthor Commented:
As I said - it's win32s binary (not unix/linux) - it doesn't compile- it's a binary, so telling me to recompile isn't going to do it.
Um, look I've been running apache, php3 & mysql on a linux box with no probs for quite a while...at the moment I *also* need to set it up on an Win95 machine, like it or not. So, with respect just telling me to run it on linux isn't helpful - i've read that answer to people asking this same question in other forums.

So, if someone actually has experience with the win32 binary set up of php & mySQL - I'd really appreciate to hear from them.


Cheers
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

yungAuthor Commented:
sorry for sounding so narky in my above comment - too many late nites :^) I actually sorted the problem myself (not that I can get any points for it...hehe...It was (as usual) a stupid oversight. I just hadnot put the required dll i the windows system directory. I hate windows. All is now well. If someone wants to provide an answer (you could just say "yeah,grrrl, take a break and relax for a while") I'll give them the points anyway.

cheers
0
oubelkasCommented:
Haha!

yeah,grrrl, take a break and relax for a while

:) Nice one! Yeah, WINDOWS SUCKS! It's always these damned dll'. Sorry I didn't read the question clear, still glad you fixed it. :)

Joseph
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
oubelkasCommented:
Here too, we had to find a way how to run mssql with PHP under WinNT. I took a while too, but as you already mentioned, it's these dll's to blame. Oh, and I think that we all have our bad tempers now and then. So I doesn't matter of course you sounded so "narky".
;)

Joseph
0
oubelkasCommented:
Here too, we had to find a way how to run mssql with PHP under WinNT. It took a while too, but as you already mentioned, it's these dll's to blame. Oh, and I think that we all have our bad tempers now and then. So I doesn't matter of course you sounded so "narky".
;)

Joseph
0
yungAuthor Commented:
:^)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.