Re: [CinCV] Execute cinelerra via PHP/apache

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Scott C. Frase
Date:  
To: cinelerra
Subject: Re: [CinCV] Execute cinelerra via PHP/apache
On Thu, 2010-02-25 at 13:58 -0800, Jim Feniello wrote:
> Has anyone had any success kicking off cinelerra batch rendering via php based on a call via a site? I have a shell script that does a few things then eventually calls cinelerra -r batch.rc. It gets called fine, but bails out without much information as to why. If I call my php script from the shell as: php myscript.php, it works fine, but when I hit it via a browser, it doesn't. I'm pretty sure apache is executing as user 'apache', and prior to running it via the shell, I'm su apache.
>
> Thanks,
> -jim
>
>

Jim,
In the old days, I used to kick off shell scripts through IIS via a
browser. IIS needed to be told what to do with the '.sh" extension..in
my case, IIS needed to execute a bash shell under Cygwin. Also, IIS
needed the proper permissions to execute bash.

I've since forgotten the exact process. Here's a link on
expertsExchange that might get you closer to what you're looking for:
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/bash/Q_23873015.html

And a more general google search yields:
http://www.google.com/search?q=kick+off+shell+script+from+web
+browser&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

scott


_______________________________________________
Cinelerra mailing list
Cinelerra@???
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra