Bug #2449: When mcrypt support is added, fsockopen fails to return a file identifier
| From: | jason at qgl dot org | Date: | Wed, 06 Oct 1999 02:38:36 +0000 |
| Subject: | Bug #2449: When mcrypt support is added, fsockopen fails to return a file identifier | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11561@lists.php.net to get a copy of this message | ||
From: jason@qgl.org
Operating system: Linux (Slackware 4.0 and 3.6)
PHP version: 3.0.12
PHP Bug Type: mcrypt related
Bug description: When mcrypt support is added, fsockopen fails to return a file identifier
Configure line:
./configure --with-apache=../apache_1.3.9 --with-mcrypt
Experienced same results without Apache, and with Php versions 3.0.10 and 3.0.11 and with various
versions of libmcrypt from 2.2.1 and older
As soon as --with-mcrypt was omitted, fsockopen worked fine.
Example code:
<?
$fp = fsockopen("www.php.net",80);
fputs($fp,"GET / HTTP/1.0\n\n");
?>
Warning: Unable to find file identifier 0 in /path/to/test.php3 on line 3
(Tried various hosts and ports)