So I kinda found the problem.
---
sh -c '/usr/bin/php-cgi' '/var/www/rutorrent/plugins/rss/update.php' 'm0nst4r' & exit 0
---
--- Success ---
PHP Notice: Undefined variable: argv in /var/www/rutorrent/plugins/rss/update.php on line 3
PHP Notice: Undefined variable: argv in /var/www/rutorrent/plugins/rss/update.php on line 6
X-Powered-By: PHP/5.3.2-1ubuntu4.2
Content-type: text/html
I guess the problem is, that it calls /usr/bin/php-cgi and not /usr/bin/php, because there is no argv and argc in the cgi version.
But in the .rtorrent.rc I set it correct...
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php m0nst4r &}
It is in the conf/config.php where you set the path to php I set it to the cgi version. Thats the Problem.
It works now.
Thanks for the help!
---
sh -c '/usr/bin/php-cgi' '/var/www/rutorrent/plugins/rss/update.php' 'm0nst4r' & exit 0
---
--- Success ---
PHP Notice: Undefined variable: argv in /var/www/rutorrent/plugins/rss/update.php on line 3
PHP Notice: Undefined variable: argv in /var/www/rutorrent/plugins/rss/update.php on line 6
X-Powered-By: PHP/5.3.2-1ubuntu4.2
Content-type: text/html
I guess the problem is, that it calls /usr/bin/php-cgi and not /usr/bin/php, because there is no argv and argc in the cgi version.
But in the .rtorrent.rc I set it correct...
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php m0nst4r &}
It is in the conf/config.php where you set the path to php I set it to the cgi version. Thats the Problem.
It works now.
Thanks for the help!