ID: 37433
Updated by: [EMAIL PROTECTED]
Reported By: sy at go2panel dot com
-Status: Open
+Status: Feedback
Bug Type: Network related
Operating System: RHEL 4.0
PHP Version: 5.1.4
New Comment:
This function doesn't depend on configure options and enabled when
possible.
Previous Comments:
------------------------------------------------------------------------
[2006-05-14 02:30:29] sy at go2panel dot com
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 this bug report at http://bugs.php.net/?id=37433&edit=1