php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11881 undefined function: getservbyname()
Submitted: 2001-07-04 11:23 UTC Modified: 2001-07-06 05:52 UTC
From: v dot e dot jansen at kub dot nl Assigned:
Status: Closed Package: Network related
PHP Version: 4.0.6 OS: windows 2000 professional
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: v dot e dot jansen at kub dot nl
New email:
PHP Version: OS:

 

 [2001-07-04 11:23 UTC] v dot e dot jansen at kub dot nl
Running:
<?
$port = getservbyname('www','tcp');
echo $port;
?>

results in:

Fatal error: Call to undefined function: getservbyname()  in e:\webserver\file.php on line 106


I just migrated back to 4.0.5 from 4.0.6 and now it works again. I'm running windows 2000 professional and Apache 1.3.20.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-06 05:52 UTC] dbeu@php.net
fixed in cvs, thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 17:01:30 2024 UTC