今天用appnode,搭建了xiuno论坛,发现插件中心打开空白,按教程https://bbs.xiuno.com/thread-20496.htm开启debug,发现是allow_url_fopen没开启,我在appnode的PHP全局那操作了开启allow_url_fopen,phpinfo 也看到了,
但还是错误,网上搜索了下,用这个PHP代码检测allow_url_fopen是否开启,发现是没开启的,
<?php
if( ini_get('allow_url_fopen') ) {
die('allow_url_fopen is enabled. file_get_contents should work well');
} else {
die('allow_url_fopen is disabled. file_get_contents would not work');
}