LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Dedicated server Centos 5 FFMEPG (https://www.linuxquestions.org/questions/linux-hardware-18/dedicated-server-centos-5-ffmepg-861047/)

awww 02-06-2011 01:11 PM

Dedicated server Centos 5 FFMEPG
 
Ok i have a dedicated servers i have a script i have been tryin to install that requires FFMPEG,FLVTOOL2,MPLAYER,MENCODER AND ECT i install all requirement though SSH i type the whereis command and they are all there where i installed them but the script still reports it missing i have tryed other scripts same thing i went to the support forum and they told me Safe Mode, Open Basedir - to look at it in PHP ini and that If not set properly - executing php commands like file_exists, is_file on files outside of public_html is restricted and that's why media tools cannot be verified even if they exist.and that on some servers main php.ini file is not what later decides of php execution.
Sometimes each domain/account has own php.ini that overwrites main ini settings.

how would i fix this problem i know im installin the files correctly i contacted my host but its a unmanaged server they wont help

carltm 02-06-2011 08:01 PM

I would suggest that you find where the executables are stored and
then putting in the full path to the executables in your script.

For example, if your script has a line like this:
Code:

ffmpeg --option filename
Run this to find where the executable is stored:
Code:

which ffmpeg
Then replace the name of the executable with the full path:
Code:

/opt/project/ffmpeg/bin/ffmpeg --option filename

awww 02-08-2011 10:01 PM

done that same problem http://i56.tinypic.com/29b0ppf.jpg first screen shot

carltm 03-11-2011 07:44 AM

Two items. You ran "whereis" and not "which". Also, did
you update your script to use the full path revealed by
which?


All times are GMT -5. The time now is 03:15 PM.