ID:               27509
 User updated by:  scott at abcoa dot com
 Reported By:      scott at abcoa dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Sockets related
 Operating System: AIX 4.3.3
 PHP Version:      4.3.4
 New Comment:

I tried the latest PHP 4 snapshot from CVS yesterday, unzipped it, out
came the directory name, "php4-STABLE-200403081230", build it and still
get the error code of 66 with error string of "Addr family not
supported by protocol".



Let me know what you got and of what further homework assignment do I
need to do.  By the way, I'm using the R/S6000.


Previous Comments:
------------------------------------------------------------------------

[2004-03-09 13:24:04] [EMAIL PROTECTED]

Please do NOT paste configure outputs here unless asked for.

And this bug is about PHP 4, not PHP 5 so try the correct snaphot. (PHP
5 beta 4 is too old already anyway)



I will try this myself on an AIX machine.





------------------------------------------------------------------------

[2004-03-09 08:17:24] [EMAIL PROTECTED]

You have to delete config.cache when you reconfigure. Otherwise the
change will NOT be noted. So please try again..



------------------------------------------------------------------------

[2004-03-08 16:51:22] scott at abcoa dot com

Further notice...  I noticed the PHP version 4.3.1 on an another AIX
machine does have this same problem with the fsockopen().  So, it could
be between 4.2.3 and 4.3.1 when it all of a sudden just don't work.

------------------------------------------------------------------------

[2004-03-08 13:09:01] scott at abcoa dot com

Yea, it is a clean build.  Tried it again with php5 beta 4 from the
php.net website.  Don't see any CVS links for that.  Still get the
error but it's a different errors.  I can not make sense out of this
one.



--snip--

Content-type: text/html

X-Powered-By: PHP/5.0.0b4



!#/usr/local/bin/php



<br />

<b>Warning</b>:  fsockopen() [<a
href='function.fsockopen'>function.fsockopen</a>]: unable to connect to
www.google.com:80 (Unknown error) in <b><<file path omitted by me>></b>
on line <b>7</b><br />





268976720

--snip--



The output, "268976720" is the output by $errstr...  Oddly, no
displayed $errno...



I tried the --disable-ipv6 option and ran the configure, it showed that
IP V6 Support is found during the configuration.  Thought you may want
to know because I'm not sure if this may help.

------------------------------------------------------------------------

[2004-03-08 11:52:38] [EMAIL PROTECTED]

Are you 100% sure you made a clean build after reconfiguring php ?
(make clean ; make)



If yes, please try building latest php5 snapshot as a cli to test your
script; it has some runtime intelligence to detect systems with broken
network stacks.

------------------------------------------------------------------------

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/27509

-- 
Edit this bug report at http://bugs.php.net/?id=27509&edit=1

Reply via email to