|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 09:05:46 2022 UTC