[sane-devel] phpSANE question

m. allan noah kitno455 at gmail.com
Thu Apr 7 17:12:16 UTC 2011

I've never worked with phpSANE, but I can take a guess. PHP scripts
run as the apache user, and the apache user does not have permissions
to talk to the device files. Run scanimage -L as the user apache runs
as, and see if that's true. If so, look to make some udev or hal rule


On Thu, Apr 7, 2011 at 11:01 AM, Cristi Lacatus <alaskanseaman at gmail.com> wrote:
> Hello,
> I know this is the dist list for the SANE project, but maybe there is
> someone out there that uses phpSANE and can help me out. I am trying to use
> this on my QNAP NAS, linux flavour with apache 2 and php 5 support, but I
> keep getting this error message and the resolution field is highlighted in
> red.
> From what I can tell the problem is when the command is being executed, for
> example when the command "scanimage --help" it's executed in the CLI,
> usually it outputs the help text but it also gives detailed information
> about the scanners that are connected to the system at that time. When it
> gets executed by the web interface, it only outputs the help text, nothing
> else.
> I also tried with a different command, "scanimage -L" when executed in the
> CLI it outputs "device `pixma:04A91746_01760E' is a CANON Canon PIXMA MP280
> multi-function peripheral", when executed through phpSANE, it only outputs
> "device `pixma:04A91746' is a CANON Canon PIXMA MP280 multi-function
> peripheral". I'm exporting the necessary paths, but that doesn't help
> either.
> Any help will be greatly appreciated?
> Thanks,
> Cristian.
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>             to sane-devel-request at lists.alioth.debian.org

"The truth is an offense, but not a sin"

More information about the sane-devel mailing list