Because after the phpcms official website stopped parsing, many people installed phpcms v9 with the following error:
This is because the domain name detected by dns is the domain name of phpcms official website. After the domain name of the official website is stopped, the detection will definitely fail. The solution is as follows:
Open the /install/install.php file, line 49 or search for $ PHP_DNS:
$PHP_DNS = preg_match(“/^[0-9.]{7,15}$/”, @gethostbyname(‘www.phpcms.cn’)) ? 1 : 0;
The www.phpcms.cn domain name is changed to the domain name where you are installing V9, or to www.baidu.com, no agreement is required, no slash at the end
Then it's ok.