Jump to content
Chinese IPB
Sign in to follow this  
Francis

禁用PHP危險函數

Recommended Posts

禁用PHP危險函數

如果你的Server沒安裝寶塔面板,就需要自己手動到 php.ini 來禁用PHP危險函數

開啟 php.ini 搜尋 disable_functions =

例如:IPB論壇要求禁用幾個PHP危險函數,那麼做法是

disable_functions = exec,system,popen,proc_open,shell_exec

儲存 php.ini 然後 restart

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×