I agree with Johnathan. He indicated not wanting to change apache so suPHP is probably not a good fit. Also his commands seem to be root level type permissions.
Cron or deamon as root witha a queued task table imo. Trevyn On Dec 16, 2013 3:15 PM, "Jonathan Duncan" <[email protected]> wrote: > On Mon, Dec 16, 2013 at 2:51 PM, David Skinner > <[email protected]>wrote: > > > > tl;dr > > I have some shell scripts that I'd like to have executed based on certain > > API calls processed by PHP. How do I get PHP to execute these scripts > while > > keeping the apache user secure? Any third party solutions? > > > > Why not try a queuing solution? Requests come in from the API and go into > a queue (db perhaps). Then an daemon script can check the queue and process > requests as needed. > > _______________________________________________ > > UPHPU mailing list > [email protected] > http://uphpu.org/mailman/listinfo/uphpu > IRC: #uphpu on irc.freenode.net > _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
