Current location: Hot Scripts Forums » Programming Languages » PHP » IIS MYSQL and PHP


IIS MYSQL and PHP

Reply
  #1 (permalink)  
Old 04-15-05, 11:25 AM
nommiiss nommiiss is offline
New Member
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
IIS MYSQL and PHP

I need to run MySQL and PHP on my IIS web server.

I am running a Windows 2003 enterprise server running IIS6 PhP 5 and MySQL 5 (i think. I downloaded it about 2 weeks ago date: 15.04.2005)

I have gotten PhP working with with IIS not a problem but seem to be getting problems connection from php/IIS to MySQL database.

I need to run IIS becuase I run Exchange server to run OWA. (I only have one server to make things work and yes it runs like a mule seen as its only a p3 733mHz)

can anyone help me resolve this problem am getting....I am thinking there is a config file that I am missing or somthing todo with PHP. I run the mysql setup as default and have insalled MySQL Admin and created databases.

Let me know if anyone knows how to fix this problem

THanks

Simon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 04-15-05, 06:39 PM
blaw's Avatar
blaw blaw is offline
Junior Code Guru
 
Join Date: Dec 2003
Location: Vancouver, BC, Canada
Posts: 550
Thanks: 0
Thanked 0 Times in 0 Posts
Hello,

I think you need to be a little more specific on the subject. What kind of error messages, if any, are you getting, what is the symptom that made you think that it was not working, etc?

I am not very familiar with IIS, but given that you are using PHP 5 and having a problem with MySQL, you might want to check this out, especially if you are getting "function undefined" error:

http://jp2.php.net/manual/en/faq.dat...ses.mysql.php5

HTH.
__________________
Blavv =|
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 04-16-05, 02:12 AM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,551
Thanks: 2
Thanked 16 Times in 15 Posts
did you start the mysql service?
__________________
Yep, it's a signature...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 04-16-05, 04:32 AM
<?Wille?> <?Wille?> is offline
Junior Code Guru
 
Join Date: Jan 2004
Location: Helsinki, Finland
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
did you enable mysql extension in php.ini
mysql is not enabled by default since php5 (was in previous versions) so few steps how to

open php.ini in eg notepad (located in c:\windows\system32\)
*Ctrl+f* or edit->find and type "mysql"
this should bring you to a line that is:
;extension=php_mysql.dll
enable that extension by removing the semicolon ( ; )

restart IIS, START->administrative tools->services | right click IIS -> restart

if the problem was the extension it should be fixed with this

regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 04-17-05, 07:06 AM
nommiiss nommiiss is offline
New Member
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I have not changed anything in the php.ini I will have a look at that now.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 05-16-05, 02:10 PM
z_zz z_zz is offline
New Member
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
hi nommiiss, have you solved your problem? I am trying to do the same, linking PHP 5.0.4 up with MySQL 4.1.11, and no success thus far. I've installed PHP as an IIS module via ISAPI and verified that both PHP and MySQL are working fine. Could you or anyone please let me know the way if you have benn able to make the connection? Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 01-31-06, 05:30 PM
Sheepymot's Avatar
Sheepymot Sheepymot is offline
Newbie Coder
 
Join Date: Jan 2006
Location: England
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
We really need a specific error. I got one about "Client doesn't support authentiaction method" and remedied it by disabling a setting in the MySQL Administrator.
__________________
PHPGurus - Free PHP Help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 03:22 AM
RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet General Advertisements 2 03-08-05 07:47 PM
RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet General Advertisements 0 02-20-05 12:51 PM
RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet General Advertisements 0 01-30-05 11:51 PM
RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet General Advertisements 2 11-12-04 04:25 PM


All times are GMT -5. The time now is 11:43 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.