是否可以在尚未配置域名的公共服务器上安装WordPress?我想我应该只在IP上设置它,然后server_name _;
在我的Nginx配置中。我想正是因为这个原因,WordPress的安装在wp-admin/install.php?step=2
我在Nginx日志中看到以下错误:
2017/01/08 07:24:53 [error] 25686#25686: *22 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught phpmailerException: Invalid address: wordpress@_ in /home/ankush/wp_main_site/wp-includes/class-phpmailer.php:946
Stack trace:
#0 /home/ankush/wp_main_site/wp-includes/pluggable.php(352): PHPMailer->setFrom(\'wordpress@_\', \'WordPress\', false)
#1 /home/ankush/wp_main_site/wp-admin/includes/upgrade.php(395): wp_mail(\'dkasolutions.sa...\', \'New WordPress S...\', \'Your new WordPr...\')
域名是必须的还是我做错了什么?