Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos 10 hours ago10 hr
Posted September 1, 20186 yr Does anyone know how to do the disable the PHP Functions ? I'm using Godaddy and we are on a VPS the WHM/CPanel I've looked on the internet and i cant find anything that shows you how its done. Everything was ok on our old business package with Godaddy but we didnt have full control of the Mod security, so we was told the the only way was to use a VPS and then import C/panel and the forum in one hit. Since this has been done now we are getting the message below. Dangerous PHP Functions Enabled We recommend disabling the following functions on your server, or at least in the directory that your community is installed in. If you do not manage your server yourself, your hosting provider will be able to assist with this. exec, system, pcntl_exec, popen, proc_open, shell_exec Thanks for any help.
September 1, 20186 yr Open cPanel - MultiPHP INI Editor - Editor Mode Add the last line in this image and Save
September 1, 20186 yr Would suggest even though its a small edit to take a backup copy of php.ini before editing if you can. Its possible the host might do the edit for you but it is quite simple to do, I did something similar on my localhost simply as the message annoyed! :D
December 3, 20186 yr Hi my host doesn’t allow me to make these changes. What are the risks to no disabling them? Dangerous PHP Functions Enabled We recommend disabling the following functions on your server, or at least in the directory that your community is installed in. If you do not manage your server yourself, your hosting provider will be able to assist with this. exec, system, pcntl_exec, popen, proc_open, shell_exec
December 22, 20186 yr On 12/3/2018 at 12:10 PM, manuel lazanakis said: Hi my host doesn’t allow me to make these changes. What are the risks to no disabling them? Dangerous PHP Functions Enabled We recommend disabling the following functions on your server, or at least in the directory that your community is installed in. If you do not manage your server yourself, your hosting provider will be able to assist with this. exec, system, pcntl_exec, popen, proc_open, shell_exec I have also run into this issue and would like to know as well.
December 22, 20186 yr The functions are dangerous and not needed by IPS. It's just a best practice to disable them to ensure there's no risk of malicious code abusing them. However, it's not absolutely essential. If you can't disable them, you can't. If you can, you should. The main thing is to always keep your IPS installation up-to-date; especially when there are security updates available.
January 22, 20196 yr How do I handle this edit for HostGator? Is it the same process as stated previously by Adlago? On 9/1/2018 at 3:50 AM, Adlago said: Open cPanel - MultiPHP INI Editor - Editor Mode Add the last line in this image and Save
January 22, 20196 yr 15 minutes ago, TronRP said: How do I handle this edit for HostGator? Is it the same process as stated previously by Adlago? If you are on shared hosting you likely cannot, you can contact your host to assist you if needed though, they can guide you if it's an option. The process can vary depending on your hosting setup.
January 22, 20196 yr 1 minute ago, Rhett said: If you are on shared hosting you likely cannot, you can contact your host to assist you if needed though, they can guide you if it's an option. The process can vary depending on your hosting setup. Thank you
January 23, 20196 yr If you have access to your PHP version settings (you should, if I'm correct you're on a VPS), just add into "additional directives": disable_functions = "exec, system, popen, proc_open, shell_exec, pcntl_exec" And you MUST clear cache and cookies from used browser/browsers! Edited January 25, 20196 yr by stonewolf777 Add new line
Archived
This topic is now archived and is closed to further replies.