ID: 10964
Updated by: derick
Old-Status: Open
Status: Analyzed
Bug Type: Network related
Operating system: 
PHP Version: 4.0.5
Assigned To: 

I could verify this.
getservbyport is only available if HAVE_SERVBYPORT is defined, but
aparently there are no tests for this function in the configure scripts, and that's 
why it's
not set.

Can anybody familiar with the build process have a look at this?
(I can do it later).


Previous Comments:

[2001-05-18 19:27:08] [EMAIL PROTECTED]
I made a little php script like that :
    print getservbyport(25,tcp);
and i got this error:
  Fatal error: Call to undefined function: getservbyport()
My configure line is :
  ./configure --with-ldap --with-mysql --with-gd --disable-pear --enable-calendar 
--with-config-file-path=/etc/httpd/conf --with-zlib --with-bz2 --with-snmp 
--enable-magic-quotes --with-gnu-ld --with-apxs --with-ttf --without-openssl 
--enable-ucd-snmp-hack --enable-sockets


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to