Go to advanced search

by mytomi
Sun Nov 10, 2013 12:16 pm
Forum: Troubleshooting
Topic: Permission denied for www-data accessing /dev/video0 w/php
Replies: 2
Views: 4104

Re: Permission denied for www-data accessing /dev/video0 w/p

Problem solved. I had to uncomment a line in php.ini:

Code: Select all

cgi.fix_pathinfo = 1
Thanks for leading me to the right direction!
by mytomi
Sat Nov 09, 2013 5:12 pm
Forum: Troubleshooting
Topic: Permission denied for www-data accessing /dev/video0 w/php
Replies: 2
Views: 4104

Permission denied for www-data accessing /dev/video0 w/php

I'm running Raspbian 3.6.11+ #538. I have a php web page on lighttpd to take webcam photos with fswebcam. The php part: <?php $command = "/var/www/bin/TakeAnotherPic.sh"; echo "<H1>Taking a picture at the moment...</H1>\n"; $output = shell_exec($command); echo "$output"; ?> The script: #!/bin/sh PAT...

Go to advanced search