ID: 20712 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Performance problem Operating System: linux PHP Version: 4.3.0RC2 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-11-29 02:42:43] [EMAIL PROTECTED] Hello, I found performance problem in the hostnmae lookup in php-4.3.0RC2 on linux. Windows platform works fine. <?php $localhost = 'localhost'; $ds = ldap_connect ( $localhost ); ldap_bind ( $ds ); ?> When i run this script, php make a dns lookup to find the name localhost and if not found make a local search (/etc/hosts). Normaly, it should search first in the /etc/hosts file and next make dns lookup. the /etc/hosts and /etc/nsswitch.conf is good. Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20712&edit=1