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?
 
oubelkasConnect With a Mentor Commented:
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
 
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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
 
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:
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
All Courses

From novice to tech pro — start learning today.