手机看片精品高清国产日韩,色先锋资源综合网,国产哺乳奶水91在线播放,乱伦小说亚洲色图欧洲电影

如何設置PHP函數禁用

2016-03-25 17:15:14 10695

1.    修改php.ini文件:

ignore_user_abort = On(注意前面的;號要刪除)

2.    默認為   ;disable_functions     //將前面的  ;注釋去除  


改為disable_functions=exec,system,passthru,popen,pclose,shell_exec,proc_open,dl,chmod,escapeshellarg,

escapeshellcmd,sh2_exec,proc_terminate,proc_close

 

或者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調用的網站無法正常調用數據了。

若需刪除對應函數,去除對應函數即可。

 


提交成功!非常感謝您的反饋,我們會繼續努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務,我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: