file_get_contents()

问答中心分类: PHPfile_get_contents()
匿名用户 asked 8 年 ago
要如何启用 file_get_contents() 功能,谢谢
我的 PHP 5.6.15
Question Tags:

1 Answers
oneinstack answered 8 年 ago
修改/usr/local/php/etc/php.ini,保持参数如下:
allow_url_fopen = On
allow_url_include = On
重启php:service php-fpm restart , 试试!