we migrated our production server new host (dedicated servers). , unable resolve domain names php pages when loaded apache. however, works fine when execute php page command line. example, following php code returns ip address when executed command line fails when page loaded in browser thru apache.
$ip = gethostbyname('www.google.com'); echo $ip;
any thoughts? running apache 2.4 on windows server 2012.
thanks help.
Comments
Post a Comment