You server does not support what is called command line php. This gives phpmotion the ability to run these same command when a video finishes uploading
インストールされている。問題ない。
1
2
$yum list installed|grep php-cli
php-cli.x86_645.1.6-45.el5_11installed
次のチェックポイント。
Your server has the **exec** command disabled in your php settings. PHPmotion needs access to this command in order to be able to execute command via ssh shell. To check if this is the case, upload a [[http://wiki.phpmotion.com/HelpPHPinfoFile phpinfo]]file to your server and check the **disable_functions** section to see if **exec **is listed there.
phpinfoを表示してみる。問題ない。
1
disable_functions-Local Value:no value/Master Value:no value
次のチェックポイント。
You have some security features installed on your server that are preventing PHPmotion access to ffmpeg and mencoder.
This could be either:
– You have “open_basedir” or “safe_mode” restriction set in your php. Check using a phpinfoe
– You have either “Selinux” or “Suhosin” installed on your server and its restricting PHPmotion from working correctly
これらもphpinfoを表示して確認。問題ない。
1
2
open_basedir-Local Value:no value/Master Value:no value
safe_mode-Local Value:off/Master Value:off
悪いところはなさそう。さらに読み進む。
HINT
If you managed to convert videos is ssh but you still dont see them when you upload. Try this
Upload a video as normal on your website
Once complete, open the url http://www.yourdomain.com/convertor.php
Check to see if the video is now showing
if the video show after doing this, you should check to see if curl is installed on your server. If its not installed, you should consider installing it.
General Site Information
Site name: Video Site
Website Url: http://www.example.com → http://192.168.33.10
Date Format: y-m-d
System Email Address: team@example.com
System Email (From Name): Video Site Team
Server Side Settings:
Path to FFmpeg: /usr/bin/ffmpeg
Path to FLVTool2: /usr/bin/flvtool2
Path to Mencoder: /usr/bin/mencoder
setupフォルダを消さないと管理者ログイン画面が表示されない
# rm -r -f setup
管理者画面にアクセス
PHPmotion Site Administration
http://192.168.33.10/siteadmin/index.php