Nathan Nobbe <quickshiftin <at> gmail.com> writes: > have you been trying to run the script from the cli, or from the browser? > i would first try to run your php script from the cli; eg. > php myMencoderScript.php <inputFile> <outputFile> > I've tried only to run it from browser. I've just tried to run it from cli and I get error message: Fatal error: Call to undefined function mysql_connect() in /home/re/videoEncode.php on line 3 It seems CLI version doesn't use mysql (non cli PHP compiled with mysql built-in). I will write simplier script without using mysql. > if it works there, and not from the browser, id imagine its a permissions > issue. but i was able > to run my script from the browser, w/o altering the perms on the mencoder > binary, as the stock > perms on my box are: > nathan <at> trident ~/Desktop $ ls -l /usr/bin/mencoder > -rwxr-xr-x 1 root root 6637020 Jan 19 10:38 /usr/bin/mencoder > > you can find out what they are on your system by issuing; > ls -l `which mencoder` > It outputs: -rwxr-xr-x 1 root root 8097152 Jan 13 20:46 /usr/local/bin/mencoder > if other is, r-x, you should be good to go. if your script isnt working > from the cli > then something probly needs to be cleaned up in there. try to make it as > simple as > possible to start out. once you get it working, you can add all the other > features you want. > > -nathan > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php