Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-18-2009, 01:47 AM   #16
LQ Newbie
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0

I finally got it to work!!!!!

Here's what I did:

1. created a shell script ( with my '/usr/local/bin/ffmpeg -i .......' command
2. put script in a executable directory
3. called the script from php with the full path
4. edited the sudoers file using 'visudo' command in terminal
5. added this line: 'apache ALL=NOPASSWD: /path/to/shell/script'
6. commented out 'Defaults requiretty'
7. ':w' to write ':q' to quit visudo

days of struggle and searching have finally come to an end

Last edited by mcannell; 03-18-2009 at 01:49 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 01:14 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 06:16 PM
Apache service dont working with arisbeat Programming 2 08-02-2008 05:02 AM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 06:30 AM
Apache User? Crashed_Again Linux - Security 2 02-19-2003 08:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration