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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

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

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 13:01:29 2025 UTC