ID: 21653
Comment by: phpbugs at whitesands dot net
Reported By: support at hostcolor dot com
Status: No Feedback
Bug Type: Sockets related
Operating System: RedHat 7.2
PHP Version: 4.3.3RC2-dev
New Comment:
I'm getting the same "Operation now in progress (115)" w/ PHP 4.4.2
configured with:
'./configure' '--with-mysql=/usr' '--with-apxs2=/usr/local/bin/apxs'
'--enable-mbstring'
and using Apache 2.0.59 on RHEL 4 and using this script:
<?php
$fp = fsockopen ("localhost", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
}
fclose ($fp);
?>
What I have been able to figure out is that if I have less that ~500
virtual domains in the httpd.conf file, the problem goes away. If I
have more, the problem comes back. Am I hitting some kind of resource
limit?
Previous Comments:
------------------------------------------------------------------------
[2006-06-28 09:08:42] sosingus at yahoo dot com
I have a similar problem using php 4.4.1 with pfsockopen
Part of code:
------------------
<?php
$fp = pfsockopen("ssl://example.com", 443, $errno, $errstr);
if (!$fp){
echo "$errstr ($errno)<br>\n";
exit;
}
?>
Output:
------------------
Operation now in progress (115)
Modules:
------------------
'./configure' '--with-gd' '--with-msql=/usr/local/msql2.0'
'--with-mysql=/usr/local/mysql' '--with-apache=../apache_1.3.34'
'--with-jpeg-dir=/usr/lib' '--with-png-dir=/usr/lib' '--with-mhash'
'--with-openssl=/usr/local/ssl' '--enable-ftp' '--enable-imap'
'--with-zlib-dir=/usr/local/lib' '--with-pear'
'--with-curl=/usr/local/lib' '--with-pear=../PEAR-1.1'
'--enable-mbstring=all' '--with-dom=/usr/local'
'--with-domxml=/usr/local' '--enable-memory-limit=yes'
'--enable-sockets' '--with-gd-native-ttf' '--enable-gd-imgstrttf'
'--with-freetype-dir=/usr/local' '--enable-shared'
'--with-expat-dir=/usr/local' '--with-dom-xslt=/usr/local'
'--with-xslt-sablot'
Additional info
--------------------
I have it working on another domain and server with php 4.3.4
------------------------------------------------------------------------
[2005-01-05 12:50:42] suhailc at gmail dot com
Hi,
I get the following error:
Warning: fsockopen(): unable to connect to whois.crsnic.net:43 in
/home/ecompco/public_html/test.php on line 2
Could not open connection
However, the connection is made perfectly and fast when I switch off
APF. I get:
Connected OK.
For the life of me I cannot figure out why - I've added ports 43, 443,
4343, 80 to conf.php but still error shows when APF is on. But it does
have something to do with APF.
Regards,
Suhail.
------------------------------------------------------------------------
[2003-07-23 21:16:30] laudanp at yahoo dot com
I opened a new bug report here:
http://bugs.php.net/bug.php?id=24785
------------------------------------------------------------------------
[2003-07-23 14:44:48] laudanp at yahoo dot com
re: "No feedback from original bug submitter.
laudanp at yahoo dot com:
If you still feel this is a bug, open new report with
short example script, expected result and got result."
Thanks for replying to me. I'll go ahead and open a new ticket while
referencing this one for posterity. Look for it tonight.
------------------------------------------------------------------------
[2003-07-23 14:31:25] laudanp at yahoo dot com
Hi I provided the feedback above, I'm still having those problems.
Help
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21653
--
Edit this bug report at http://bugs.php.net/?id=21653&edit=1