ID:               27509
 Updated by:       [EMAIL PROTECTED]
 Reported By:      scott at abcoa dot com
 Status:           Feedback
 Bug Type:         Sockets related
 Operating System: AIX 4.3.3
 PHP Version:      4.3.4
 New Comment:

I'm also concerned that you may not actually be testing against 4.3...
One of the error messages you noted in your original report
"php_hostconnect: connect failed in ..." only appears in PHP >prior< to
version 4.3.0.  As of the 4.3 branch that message contains noticably
different text.



This discrepency doesn't necessary speak to the fact that the error is
occuring.  But it raises a question as to whether there are "lingering
ghosts" of the prior version.  Perhaps creating a conflict with 4.3
which leads to the emergence of the error.



Can you conirm that (after the copious number of recompiles you've been
asked for) you're still getting that specific error message in your
output?



It'd also be interresting to see if the sockets extension behaves in
the same way:



<?php

  $socket = socket_create(AF_INET, SOCK_STREAM, 0);

  var_dump($socket);

  var_dump(socket_connect($socket, 'www.google.com', 80));

?>



or (for a slight variation:



<?php

  $socket = socket_create(AF_INET, SOCK_STREAM,
getprotobyname("tcp"));

  var_dump($socket);

  var_dump(socket_connect($socket, 'www.google.com', 80));

?>



Of course, you'll need to ./configure --enable-sockets  in order to try
these tests.


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

[2004-03-10 13:21:47] [EMAIL PROTECTED]

Try this:



# rm config.cache ; ./configure --disable-all --disable-cgi



And use the CLI binary for testing.



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

[2004-03-10 09:26:05] scott at abcoa dot com

The configure options I use are 



--snip--

./configure --disable-ipv6

--snip--

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

[2004-03-09 19:15:57] [EMAIL PROTECTED]

Works fine for me with latest stable CVS snapshot on AIX 4.3.3.



Exactly what configure line did you use? 





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

[2004-03-09 16:22:47] scott at abcoa dot com

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.

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

[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.





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

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