CLI support


#1

Hi,
I want to install PHPmotion and there is an issue about the command line interface support. Quote: “CLI (command line interface) is the means by which the videos are converted in the background so that users don’t have to wait while they are converted. When a video finishes uploading, CLI is used to run convertor.php in the background which goes to work converting the video. You need to check that you have CLI support.”

Can someone tell me if I have CLI support on shared dreamhost server?

Cheers,
Patrick


#2

It’s available. Since the servers are UNIX/Linux based, every user has access to the Command Line.

http://wiki.dreamhost.com/Enabling_Shell_Access
http://wiki.dreamhost.com/SSH

-Scott


#3

Patrick,

I hate to be the bearer of bad news, but I have been told that phpmotion is currently “banned” from use on DreamHost. There are several problems with the script, causing it to be extremely hard on system resources.

Apparently, one of the issues is that the program needlessly forks new php processes in some circumstances where it shouldn’t (for example, exec’ing php -v in order to obtain the php version number).

Here is one previous thread from a couple of months ago in this forum that discusses the issue:

http://discussion.dreamhost.com/showflat.pl?Cat=&Board=forum_webdesign&Number=93217

There is also a recent review on HostScripts.com that confirms the problem:

http://www.hotscripts.com/review/71192.html

I’m not saying that you cannot install it, and if it is only rarely or occasionally used you may have no problem. I just feel you should know that if the program sees any significant usage, you should expect that DH support will contact you about disabling the program, and if it negatively impacts the server and the other users sharing it, they may disable it before contacting you.

According to DreamHost staff I have communicated with regarding this, this is a known problem with phpmotion and DreamHost has attempted to resolve this with the author, but has not been successful.

As a result, DreamHost has been disabling phpmotion when they find it creating a resource usage problem, and that has been what has happened in most instances where it has been installed.

–rlparker