|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: xue dot mei dot tang at openwave dot com
New email:
PHP Version: OS:


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



Add a Patch

Pull Requests

Add a Pull Request


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

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Aug 02 04:01:24 2021 UTC