sfc Posted July 14, 2010 Share Posted July 14, 2010 I am running WAMP on windows 7 and PHP 5.3.1 and I am getting this error: Fatal error: Call to undefined function checkdnsrr() in C:\wamp\www\xhtml-css\includes\form_functions.php on line 80 According to the research I did checkdnsrr() was available on the Windows platform at 5.3 so why am I getting this? Here is where I make the call: if ($isValid && !(checkdnsrr($domain,"MX") || checkdnsrr($domain,"A"))) Any ideas? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted July 14, 2010 Share Posted July 14, 2010 What does a phpinfo(); statement show for your php version? Quote Link to comment Share on other sites More sharing options...
sfc Posted July 14, 2010 Author Share Posted July 14, 2010 It is saying: 5.2.13 if I run it from my PHPEd IDE, which opens http://localhost:8080/file:/C:/wamp/www/xhtml-css/contact-us.php but if I type in http://localhost/xhtml-css/contact-us.php it says 5.3.1. Apparently I have something configured wrong. Is there a place we can move this so I can have someone help me understand what I am doing wrong? Thanks! Quote Link to comment Share on other sites More sharing options...
AbraCadaver Posted July 14, 2010 Share Posted July 14, 2010 It is saying: 5.2.13 if I run it from my PHPEd IDE, which opens http://localhost:8080/file:/C:/wamp/www/xhtml-css/contact-us.php but if I type in http://localhost/xhtml-css/contact-us.php it says 5.3.1. Apparently I have something configured wrong. Is there a place we can move this so I can have someone help me understand what I am doing wrong? Thanks! PHPEd is using it's own PHP install, so you need to find out how to upgrade that or how to have it use your installation. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.