Internal Server Error on checkdnsrr

Joined
Apr 9, 2021
Messages
2
Reaction score
0
When using checkdnsrr I get an Internal Server error.

I am using PHP RPM on IBM i.

Has anyone seen this error and could give me information on how to address it?

<?php
$domain="w3schools.com";
if(checkdnsrr($domain,"MX")) {
echo "Passed";
} else {
echo "Failed";
}
?>
Error received when running scrip:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.

Error Log:
[Fri Apr 09 09:11:14.699000 2021] [zend_enabler:error] [pid 8012:tid 00000033] Can not read response from /QOpenSys/pkgs/bin/php-cgi (0.0) - [0] There is no error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top