安装了lnmp0.9的童鞋,在配置discuz x的时候,都会遇到
fsockopen() 不支持 该函数需要 php.ini 中 allow_url_fopen 选项开启。请联系空间商,确定开启了此项功能
pfsockopen() 不支持 该函数需要 php.ini 中 allow_url_fopen 选项开启。请联系空间商,确定开启了此项功能
这样的问题,解决方法如下:
编辑/usr/local/php/etc/php.ini 查找disable_functions ,将里面的fsockopen 去掉
然后再执行:
/etc/init.d/php-fpm restart
/etc/init.d/nginx restart
fsockopen() 不支持 该函数需要 php.ini 中 allow_url_fopen 选项开启。请联系空间商,确定开启了此项功能
pfsockopen() 不支持 该函数需要 php.ini 中 allow_url_fopen 选项开启。请联系空间商,确定开启了此项功能
这样的问题,解决方法如下:
编辑/usr/local/php/etc/php.ini 查找disable_functions ,将里面的fsockopen 去掉
然后再执行:
/etc/init.d/php-fpm restart
/etc/init.d/nginx restart