Bug #10964: Unable to use getservbyport function
| From: | xbouli at hotmail dot com | Date: | Fri, 18 May 2001 23:27:09 +0000 |
| Subject: | Bug #10964: Unable to use getservbyport function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55852@lists.php.net to get a copy of this message | ||
From: xbouli@hotmail.com
Operating system: Linux 2.4.4 RedHat
PHP version: 4.0.5
PHP Bug Type: Network related
Bug description: Unable to use getservbyport function
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
--
Edit Bug report at: http://bugs.php.net/?id=10964&edit=1