I had to create a symbolic link from /opt/bin to /usr/bin in Debian. But the db creation, dummy_poll etc scripts still don’t work. They work when started from the command line, but not from the php pages. I’m not sure if it does not find the script or if there is some error in running the script. It would be nice to have a log file to tell what happened. I have given rx rights to all users to all script, but that didn’t help.
I tried to add some echo at the beginning of the script, but it does not appear to the web page. I have copied the scripts both to /usr/sbin and /usr/share/php, but that does not help. I haven’t used php before so it’s a bit hard to tell what’s wrong. Wish this were Java code and one simple war package.