Ubuntu 服务器 WordPress 插件和主题连接错误

Ubuntu 服务器 WordPress 插件和主题连接错误

我有一台安装了 WordPress 的 Ubuntu 18.04 服务器。安装完成后,插件页面出现连接错误。起初只是一条错误消息plugin-install.php。重新启动后,又出现了 2 条错误消息,如下所示,我无法从我的服务器 ping 任何东西。(我 ping 的任何东西都丢失了 100% 的数据包。)我尝试编辑文件/ect/hosts,并尝试修改php.ini文件(找不到扩展名 = curl.so),但无济于事。

有任何想法吗?

Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wordpress/wp-includes/update.php on line 413

Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wordpress/wp-includes/update.php on line 693

Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/html/wordpress/wp-admin/includes/plugin-install.php on line 183

附件是日志目录供参考:

在此处输入图片描述

故障日志只是其中的一系列^@代码。

相关内容