Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS6/PHP problem

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS 5.1 and Office 2003  
Author Message
sheldon_payne2

External


Since: Apr 26, 2004
Posts: 5



(Msg. 1) Posted: Sat Jun 12, 2004 7:34 pm
Post subject: IIS6/PHP problem
Archived from groups: microsoft>public>inetserver>iis (more info?)

PHP 4.3.4
MySQL 3.23
Windows 2003/IIS6

I have a PHP script for connecting to a mysql database. When procesing the
script through the command line, everything works fine, but through an
internet browser (and hence IIS6) the following error is displayed:

Warning: mysql_pconnect(): Can't create TCP/IP socket (10041)

More info about the error:
WSAEPROTOTYPE (10041)
Protocol wrong type for socket.
A protocol was specified in the socket function call that does not
support the semantics of the socket type requested. For example, the
ARPA Internet UDP protocol cannot be specified with a socket type of
SOCK_STREAM.

Other aspects of PHP work ok, and an indentical PHP/MySQL setup works fine
on my Windows 2000/IIS5 machine. Both machines have PHP/MySQL setup
according to the following instructions:
http://s92192454.onlinehome.us./PHP_on_windows_under_IIS.html

Anyone else had problems with PHP and IIS6? Any help greatly appreciated.

 >> Stay informed about: IIS6/PHP problem 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]