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

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

2016-03-25 17:15:14 10686

1.    修改php.ini文件:

ignore_user_abort = On(注意前面的;號(hào)要?jiǎng)h除)

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

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

 


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

這條文檔是否有幫助解決問(wèn)題?

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

在文檔使用中是否遇到以下問(wèn)題: