ID: 10964 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Network related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Fixed in CVS. Will be fixed in PHP 4.0.6 --Jani Previous Comments: --------------------------------------------------------------------------- [2001-05-19 03:48:13] [EMAIL PROTECTED] 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). Derick --------------------------------------------------------------------------- [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 http://bugs.php.net/?id=10964&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]