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 |
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 Code:
which ffmpeg Code:
/opt/project/ffmpeg/bin/ffmpeg --option filename |
done that same problem http://i56.tinypic.com/29b0ppf.jpg first screen shot
|
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. |