[jdev] PHP Jabber

Sascha sascha_sauren at arcor.de
Tue Dec 27 05:57:43 CST 2005

Hi Jhune,

did u made an phpinfo() and checked if the socket function is enabled?
if it is....
did u tried to connect with annother clien like PSI or exodus?
if that all is ok...
just serach in the php source for the file or class that handles the 
connection and add echo or print command where messages are send or 

so u can see if its valid xmpp and if there is any kind of response.

btw... which php jabber client are u using?

greetz Sascha

Dhoren Hernsor schrieb:

>  Dear all,
> Am not sure if my issue has been resolved already. But here it goes...
> I have a PHP Jabber code. Trying to connect to a jabber server using 
> port 5222 / 443. However, am having this error message: *Warning*: 
> fsockopen() [function.fsockopen 
> <http://localhost/function.fsockopen>]: unable to connect to 
> jabber.org.au:5222 (A connection attempt failed because the connected 
> party did not properly respond after a period of time, or established 
> connection failed because connected host has failed to respond. )
> I have posted this to some forums and they said theres a problem/bud 
> with PHP 4.0. So, I removed PHP 4.0 and installed PHP 5.0 instead. But 
> am still having this error message.
> Am using Apache 2.0 and PHP 5.0 now.
> Kindly help me on this. Appreciate for your speed response.
> Kind regards,
> Jhune
> ------------------------------------------------------------------------
> Yahoo! Photos
> Ring in the New Year with Photo Calendars 
> <http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=>. 
> Add photos, events, holidays, whatever. 

More information about the JDev mailing list