Re: Problems with TCP/IP and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been using every version and RC of PHP since 4.2.1 days, and I have
never had any problems, using sockets, mysql_connect,
fopen("http://blalbla";) or anything...

Did you compile yourself or did you download precompiled ones... If you
compiled yourself, try the precompiled one... Check your hosts file
(C:\windows\system32\drivers\etc) and see if something is wrong with it...

-- 
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
##########################
Please, if you are using windows, you may be infected by Swen. Please go
here to find out more:
http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen
http://securityresponse.symantec.com/avcenter/venc/data/w32.swen.a@mm.html
##########################
"Robert Duda" <rob@thedudas.com> skrev i meddelandet
20031027162155.99123.qmail@pb1.pair.com">news:20031027162155.99123.qmail@pb1.pair.com...
> I am running the following:
>
> PHP Version 4.3.4RC2, I tried 4.3.3 with the same results.
> MySql Version 4.0.16-nt
> Windows XP Professional
>
> Using PHP as cgi with Roxen.
>
> Anytime I try to connect to anything over TCP/IP I get an error. Below is
> the error that I get if I try to connect to an IMAP source:
>
> Warning: imap_open(): Couldn't open stream {mydomain.com:143}INBOX in
> F:\projects\phpgroupware\email\inc\class.mail_dcom_imap.inc.php on line
214
>
> Warning: imap_open(): Couldn't open stream
> {mydomain.com:143/imap/notls}INBOX in
> F:\projects\phpgroupware\email\inc\class.mail_dcom_imap.inc.php on line
214
> (the code comes from phpgroupware version 0.9.14.007)
>
> And if I try to connect to Mysql I get the following error unless I use
> named-pipes:
>
> #2004 - Can't create TCP/IP socket (10106)
> (This error comes from phpmyadmin during log in, if I change the host
entry
> to '.' instead of 'localhost' the login succeeds.)
>
> I have the IMAP extension uncommented and the path to the extensions
> directory is correct. I can get to the IMAP server from Pike running on
the
> same box so the proble is not the IMAP server. In fact when I look at the
> IMAP logs the connection never gets to the server. This appears to be some
> disconnect between the C-client library and the windows TCP/IP library
under
> XP. Has anyone else had the same problem and if so how did you fix it?
>
> Any help with this would be greatly appreciated.
>
> Thanks,
>
> Rob

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux