Find the answer to your Linux question:
Results 1 to 1 of 1
Hello, I've installed mplayer+mencoder on linux fedora 6 ok and I can run mencoder ok by ssh. But my problem is, if I try to run mencoder (or any other ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    1

    exec() Permission denied error (127) from PHP

    Hello,

    I've installed mplayer+mencoder on linux fedora 6 ok and I can run mencoder ok by ssh.

    But my problem is, if I try to run mencoder (or any other command) via PHP eg. 'exec(mplayer -args...);' , I get an Permission denied error (127) from exec()

    I've tried the full path to the program(s) exec("/root/bin/mencoder -args...") but no luck

    PHP is not running in safe mode.. have edited php.ini etc..

    I'm kind of a newbie, you can probably tell...

    Any ideas for what might be stopping me running programs on the server via exec() from PHP?
    Thanks!
    Last edited by btidude; 06-07-2007 at 07:30 PM. Reason: added something

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...