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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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?   

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: Sun Apr 05 19:01:30 2020 UTC