The path to PHP needs to be set to /usr/local/bin/php in
/classes/config.inc.php
PHP Code:
$path_to_php = "/usr/local/bin/php";
Other paths for the encoding tools need to be set properly as well.
You can set these in your siteadmin:
Code:
/usr/local/bin/ffmpeg
/usr/local/bin/mencoder
/usr/bin/flvtool2
If these paths are incorrect your script will fail to function as desired.
You should also ensure that your php.ini has been created and has the following values:
Code:
upload_max_filesize = 100M
post_max_size = 100M
output_buffering = On
max_execution_time = 1000
max_input_time = 1000
session.gc_maxlifetime = 14400
enable_dl = on
And optionally in .htaccess:
Code:
SecFilterEngine Off
SecFilterScanPOST Off
More information about php.ini and .htaccess can be found here:
http://forums.glowhost.com/showthread.php?t=1167
http://forums.glowhost.com/showthread.php?t=2589
http://forums.glowhost.com/showthread.php?t=2590
Your script will also need to be set with the proper permissions as they may differ from what the PHPmotion installation documents may tell you to do.
http://forums.glowhost.com/showthread.php?t=2519
If you are still having problems, you can also request free installation of this script from GlowHost via our helpdesk.
The current phpmotion installation instructions do not offer any information for how to get phpmotion to work on PHP CGI, suPHP or PHP Suexec servers.
===========================
phpmotion php motion ffmpeg path