7

PHP shell_exec gives gphoto2 error message

view full story
linux-howto

http://stackoverflow.com – I successfully managed to run .sh files with PHP shell_exec from a browser on a networked computer, (like "hello world") but when I try to execute a gphoto2 command within the .sh file, it runs the .sh, but gphoto2, instead of taking a picture, it gives me the error message: For debugging messages, please use the --debug option. Debugging messages may help finding a solution to your problem. If you intend to send any error or debug messages to the gphoto developer mailing list , please run gphoto2 as follows: env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image-and-dow (HowTos)