Re: PHP_PRINTER.DLL prints from shell but not from web
| From: | Niel Archer | Date: | Tue, 24 Oct 2006 07:46:37 +0000 |
| Subject: | Re: PHP_PRINTER.DLL prints from shell but not from web | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27254@lists.php.net to get a copy of this message | ||
Hi
Usually (using the SAPI) PHP runs under the same username as Apache,
which is usually 'System', when ran as a service. If this account does
not have access to the shared resource, then neither will PHP.
Granting such access to the 'System' account is probably not a good idea.
Instead create an account for Apache to run with and tell the service to
use it. Then grant access to the printer for that account.
Niel