php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9737 undefined function socket()
Submitted: 2001-03-14 02:20 UTC Modified: 2001-03-16 20:08 UTC
From: xue dot mei dot tang at openwave dot com Assigned:
Status: Not a bug Package: Sockets related
PHP Version: 4.0 Latest CVS (14/03/2001) OS: Solaris 8
Private report: No CVE-ID: None
 [2001-03-14 02:20 UTC] xue dot mei dot tang at openwave dot com
I have posted ticket #9729. And then I followed the last comment in bug ticket #8667.
move the #include "php_sockets.h" after #include "php_sockets.h". It helps me to enable sockets support. 

Then I have installed php-latest version(13/3/2001) and configure with apache_1.3.14. I browse php settings by call function phpinfo(). It shows "socket support enable", but when the php program calls socket() function, it displays

"Fatal error: Call to undefined function: socket()". How can I solve this problem?   

Thanks

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-16 20:08 UTC] sniper@php.net
Submitted twice. Original: #9729

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Feb 24 12:01:25 2020 UTC