VPS侦探论坛

 找回密码
 注册
查看: 10792|回复: 5

lnmp0.9 求fsockopen开启方法

[复制链接]
发表于 2012-4-25 09:09:51 | 显示全部楼层 |阅读模式

百度了找了  照方法做了  重启的nginx没用。。。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-25 09:32:44 | 显示全部楼层


编辑/usr/local/php/etc/php.ini  查找disable_functions ,将里面的fsockopen 去掉

执行: /etc/init.d/php-fpm restart
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-4-29 15:46:40 | 显示全部楼层

回复 2# 的帖子


/etc/init.d/php-fpm restart
bash: /etc/init.d/php-fpm: No such file or directory
执行了之后显示这个。。无法重启,所以。fsockopen 还是没有开启
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-29 16:03:39 | 显示全部楼层



可能php没安装成功
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-5-13 20:15:17 | 显示全部楼层

不是PHP没有安装好,直接重启NGINX apache,就可以了。


不是PHP没有安装好,直接重启NGINX apache,就可以了。
我测试成功
编辑/usr/local/php/etc/php.ini  查找disable_functions ,将里面的fsockopen 去掉

然后再执行:
/etc/init.d/nginx restart
/etc/init.d/apache restart

再试就可以了。

军哥运维代购:http://shop63846532.taobao.com/

发表于 2012-7-11 10:38:08 | 显示全部楼层

LNMP0.9  /usr/local/php/etc/php.ini 确定可以

[ 本帖最后由 winson 于 2012-7-11 10:44 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 11:21 , Processed in 0.026583 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表