国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

如何設(shè)置PHP函數(shù)禁用

2016-03-25 17:15:14 6270

1.    修改php.ini文件:

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

2.    默認(rèn)為   ;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如果這個函數(shù)也禁止,就影響淘寶淘客之類遠(yuǎn)程API調(diào)用的網(wǎng)站無法正常調(diào)用數(shù)據(jù)了。

若需刪除對應(yīng)函數(shù),去除對應(yīng)函數(shù)即可。

 


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

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

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

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