Connecting PHP to mySQL under IIS

Reply

Join Date: Jul 2008
Posts: 6
Reputation: DrWhoFan is an unknown quantity at this point 
Solved Threads: 0
DrWhoFan DrWhoFan is offline Offline
Newbie Poster

Connecting PHP to mySQL under IIS

 
0
  #1
Jul 29th, 2008
I've run the install for PHP 5.2.6 and been able to have PHP pages run successfully. My research has told me that PHP no longer includes the dll needed to connect to mySQL. I've run into a couple of problems on my system.
  1. Using phpinfo(), I can identify the extensions folder the installation is using, but cannot find the folder itself.
  2. i'm also running UniServer(on another port)

Can I get my IIS server to use the same PHP/mysql that is being accessed by Apache Server? Can I simply copy my mysql.dlls from my Apache installation to my IIS installation. (The version of PHP being run by Apache is 5.2.3 where (as I've already said) my PHP version being accessed by IIS is 5.2.6.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 6
Reputation: DrWhoFan is an unknown quantity at this point 
Solved Threads: 0
DrWhoFan DrWhoFan is offline Offline
Newbie Poster

Re: Connecting PHP to mySQL under IIS

 
0
  #2
Jul 29th, 2008
In addendum to the above post. Because of the lack of a mysql connection, attempting to call a mysql function from this install causes the page to crash. Is there an error trapping routine that I can use to catch the error?
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 66
Reputation: lordspace is an unknown quantity at this point 
Solved Threads: 4
lordspace's Avatar
lordspace lordspace is offline Offline
Junior Poster in Training

Re: Connecting PHP to mySQL under IIS

 
0
  #3
Jul 29th, 2008
Why don't you just use: http://www.wampserver.com/en/ or do a manual installation and follow INSTALL.TXT instructions provided with PHP ?
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 6
Reputation: DrWhoFan is an unknown quantity at this point 
Solved Threads: 0
DrWhoFan DrWhoFan is offline Offline
Newbie Poster

Re: Connecting PHP to mySQL under IIS

 
0
  #4
Jul 29th, 2008
I wasn't as aware of the server set. However, my goal it to become skilled in as many server bases as possible.

I'm attempting to recreate on my local machine a web server that (should I choose to give its url out) supports IIS,ASP,PHP/mySQL, and ColdFusion.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC