RSS

PHP XML-RPC timeout

Thu, Apr 21, 2005

PHP

If you’re using PHP to do XML-RPC and are getting odd issues with a timeout of around 60 seconds then you may want to look at the PHP.ini setting:

default_socket_timeout

this is by default set to 60 seconds, no-where near enough time for what I was using it for.

Note: I’m using the PEAR XML-RPC classes and these use fsockopen(), the timeout there is 0, but that only applies to making the connection!

hthPHP and MySQL Web Development, 3rd Edition

This post was written by:

Bealers - who has written 350 posts on Darren Beale.


Contact the author

Leave a Reply