设为首页 - 加入收藏
广告 1000x90
您的当前位置:主页 > 网站运营 > 正文

php.ini函数禁用办法

来源:网络分享 编辑:引流技巧 时间:2026-01-27

 1.修改php.ini文件:

  ignore_user_abort = On

  (注意前面的;号要删除)

  2.默认为disable_functions =exec,system,passthru,popen,pclose,shell_exec,proc_open,curl_exec,multi_exec,dl,chmod,gzinflate

  disable_functions =exec,system,passthru,popen,pclose,shell_exec,proc_open,curl_exec,multi_exec,dl,chmod,gzinflate,stream_socket_server,popepassthru,pfsockopen,set_time_limit

  fsockopen如果这个函数也禁止,就影响淘宝客之类远程API调用的网站无法正常调用数据了。

  若解禁:只需把disable_functions=空

  即:disable_functions =

相关推荐:

栏目分类

微商引流技巧网 www.yinliujiqiao.com 联系QQ:1716014443 邮箱:1716014443@qq.com

Copyright © 2019-2024 强大传媒 吉ICP备19000289号-9 网站地图 rss地图

Top