I set the variable in the .ini file and checked that both php5 and the scripts in /usr/sbin have execute permission for all users. Still does not work. What other files can have wrong permissions?
When I run the dummy_poll from command line /usr/bin/php5 dummy_poll I get the following warnings:
PHP Warning: Invalid argument supplied for foreach() in /usr/sbin/dummy_poll on line 50
PHP Notice: Undefined variable: regnamary in /usr/sbin/dummy_poll on line 55
PHP Warning: implode(): Invalid arguments passed in /usr/sbin/dummy_poll on line 55
PHP Notice: Undefined variable: regvalary in /usr/sbin/dummy_poll on line 56
PHP Warning: implode(): Invalid arguments passed in /usr/sbin/dummy_poll on line 56
PHP Warning: Invalid argument supplied for foreach() in /usr/sbin/dummy_poll on line 76
PHP Notice: Undefined variable: COMPR_STARTS in /usr/sbin/dummy_poll on line 79
PHP Notice: Undefined variable: KOMPR_H in /usr/sbin/dummy_poll on line 80
PHP Notice: Undefined variable: T_UTE in /usr/sbin/dummy_poll on line 81
PHP Notice: Undefined variable: T_VATTEN in /usr/sbin/dummy_poll on line 82