[ http://dev.sourcefabric.org/browse/LS-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27417#action_27417 ]
David Baelde commented on LS-167:
Although the title of this ticket is quite generic, it's really about a specific problem, different from yours. The mailing list would be a better place to get help, especially since it's unlikely to be a liquidsoap bug. To get more info and better help, please look at the logs, error messages.
> start liquidsoap via php website
> Key: LS-167
> URL: http://dev.sourcefabric.org/browse/LS-167
> Project: Liquidsoap
> Issue Type: Bug
> Components: Liquidsoap
> Affects Versions: 0.3.7+svn
> Priority: Blocker
> Fix For: 0.3.7
> sometimes you may want to start your liquidsoap via internet site. this is useful, if you have a lot of people who want to start some automatics after human broadcast. ;) therefore the liquidsoap has to be started. i tryed it with a php script eg. exec() shell_exec() system(), but liquidsoap died without notification. as love-pingoo and toots could sort out, this is some php issue. in /var/log/apache/error.log could be found: "Fatal error: exception Not_found". this was the first hint, at the second glance "the env variable HOME was undefined with PHP, and liq choked on that" (love-pingoo). and here comes the workaround:
> your php snippet:
> system("HOME=foo /usr/bin/liquidsoap /path/to.conf 2>&1;");
> set HOME what ever you want, it has to be set somehow
> thx David Baelde and Romain Beauxis for the great help!
> liquidsoap rockz!!
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira