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

如何設置PHP函數禁用

2016-03-25 17:15:14 5520

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

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

 


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

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

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

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