Hello,

I need to start liquidsoap script with php.

   1. So, first thing i did - i changed user to www-data and tried to run
   .liq script directly from command line. It worked.
   # su www-data
   # ./station.liq
   2. Then i started .liq script from php cli script under www-data user.
   It worked too (php is simply using shell_exec command)
   # su www-data
   # ./run-liq.php
   3. Then i tried to run same php script from website, that is working
   under www-data user (i made doublecheck using shell_exec('whoami')), and..
   it returned nothing.
   Then i tried to retrieve stderr for station.liq - it returned "Fatal
   error: exception Not_found"

I've seen that there was a bug with debian wheezy package (i am using
debian wheezy package exactly), but libcamomile-ocaml-data package is
installed. (Details of discussion are here:
http://permalink.gmane.org/gmane.comp.audio.liquidsoap.user/2625)

Really, i don't think that the problem is that bug.. but i can't understand
why under nginx + php5-fpm and under cli with same debian user i get
different results when trying to start same liq script.

Could you show the way, where i could search the problem?
Thanks in advice!



-- 
Kind regards,
Alexander.
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to