Jump to content

how to execute shell command on php!


iluv8250

Recommended Posts

I want to execute shell command via php. I using fc9. I set up user apache to run php as root. But I can't execute iptables command (ex start iptables or add rules).what's problem? In /ect/sudoers file has line apache ALL=NOPASSWD: /sbin/iptables. What does it mean? please reply soon. thks all! 

Link to comment
https://forums.phpfreaks.com/topic/168354-how-to-execute-shell-command-on-php/
Share on other sites

  • 4 weeks later...

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.