Jump to content

Dangerous PHP Functions Enabled


Recommended Posts

Quote


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

 

What would be the best way to accomplish this as last time i tried My site wouldnt respond to anything 

Link to comment
Share on other sites

  • 3 months later...

The 'contact your host' line drives me nuts. I AM the host.

Anyway, just edit your php.ini file (in my case /etc/php/7.0/fpm/php.ini). Find the `disable_functions` line and just add the functions to it:

exec, system, pcntl_exec, popen, proc_open, shell_exec

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...