Problem: Only 1 fsockopen() connection for apache at a time.

From: Date: Tue, 03 Dec 2002 12:03:43 +0000
Subject: Problem: Only 1 fsockopen() connection for apache at a time.
Groups: php.general 
Request: Send a blank email to php-general+get-126838@lists.php.net to get a copy of this message
Hello all. I have a script that uses fsockopen() to connect to a remote server/port and from what i am seeing mod_php4 with apache only allows 1 fsockopen connection at a time and will que the other fsockopen calls and then process them when the one before it has closed. Is there a way round this? What i am after is for somebody to be able to goto the php page which will then connect via fsockopen to the other server do its send/read stuff and then produce the output. At the moment if one pages takes a bit of time to finish the remote connection then all the other apache processes just sit there and wait for it. The remote server only ever gets 1 connection at a time even though there are free connections available. Has anybody else seen this or know of a way around it. -- Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro-net.co.uk http://wb.pro-net.co.uk

« previous php.general (#126838) next »