Kabouterplob Posted May 26, 2017 Share Posted May 26, 2017 I need to disable these: exec, system, pcntl_exec, popen, proc_open, shell_exec I have my own dedicated server, so I have root access, access to the php.ini file etc, but Im not sure which files I have to go to for each thing. and what I have to look for for each function. If anybody would be willing to help, i'd really appreciate it. Link to comment Share on other sites More sharing options...
0 Faraonii Posted May 26, 2017 Share Posted May 26, 2017 (edited) In php.ini find disable_functions and set new list as follows: disable_functions =exec,system,pcntl_exec,popen,proc_open,shell_exec And disable this two also : allow_url_fopen=Off allow_url_include=Off Just for security reasons. After you do that restart httpd. service httpd restart Or if you are using Debian/Ubuntu use: service apache2 restart Edited May 26, 2017 by Faraonii 1 Link to comment Share on other sites More sharing options...
0 Kabouterplob Posted May 26, 2017 Author Share Posted May 26, 2017 7 hours ago, Faraonii said: In php.ini find disable_functions and set new list as follows: disable_functions =exec,system,pcntl_exec,popen,proc_open,shell_exec And disable this two also : allow_url_fopen=Off allow_url_include=Off Just for security reasons. After you do that restart httpd. service httpd restart Or if you are using Debian/Ubuntu use: service apache2 restart Thanks 1 Link to comment Share on other sites More sharing options...
0 Administrator James Posted May 27, 2017 Administrator Share Posted May 27, 2017 The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic. Link to comment Share on other sites More sharing options...
Question
Kabouterplob
I need to disable these: exec, system, pcntl_exec, popen, proc_open, shell_exec
I have my own dedicated server, so I have root access, access to the php.ini file etc, but Im not sure which files I have to go to for each thing.
and what I have to look for for each function.
If anybody would be willing to help, i'd really appreciate it.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts