From:             sy at go2panel dot com
Operating system: RHEL 4.0
PHP version:      5.1.4
PHP Bug Type:     Network related
Bug description:  dns_get_record() is not defined,  if --disable-all is set

Description:
------------
PHP 5.1.4 is compiled with minimum options using --disable-all

Function dns_get_record() gives this error:
PHP Fatal error:  Call to undefined function dns_get_record() in


Here is CODE:
=================
echo phpversion() ."\n";
echo gethostbyname('damla.net') ."\n";
var_dump(dns_get_record('damla.net')) ."\n";
die();

Here is OUTPUT:
===============
5.1.4
216.71.156.144
PHP Fatal error:  Call to undefined function dns_get_record() in 




Reproduce code:
---------------
echo phpversion() ."\n";
echo gethostbyname('damla.net') ."\n";
var_dump(dns_get_record('damla.net')) ."\n";
die();

Expected result:
----------------
dns_get_record() should be defined

OR

Enable directive to enable it should be document, apparently disabled by
--disable-all

I have tested the same thing using 5.1.2 WITHOUT --disable-all and it
works.



-- 
Edit bug report at http://bugs.php.net/?id=37433&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37433&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37433&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37433&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37433&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37433&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37433&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37433&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37433&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37433&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37433&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37433&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37433&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37433&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37433&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37433&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37433&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37433&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37433&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37433&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37433&r=mysqlcfg

Reply via email to