Page 1 of 1

Changing the php username

PostPosted: 05. January 2007 16:12
by seba_k
Hey,
What is the default php user? And is there a way to change my php user to administrator?
I know it's not safe, but don't worry about that.
Thx,
seba

PostPosted: 05. January 2007 16:32
by Wiedmann
What is the default php user?

There is no PHP user...

BTW:
What is your real problem? Please describe it more detailed.

PostPosted: 05. January 2007 16:48
by seba_k
Hey,
well it's quite complicated.
I want php to open word and print a document (via COM objects)
Everything works, except for the printing, I get an error that says there is no printer installed.
However there is a default printer and I myself can print perfectly.

I tought php or apache or something works as an other user, and as printers are connected to users, I wanted to let php be the administrator.

PostPosted: 05. January 2007 16:53
by Wiedmann
I tought php or apache or something works as an other user,

Well, PHP is executed by the Apache service.
--> How did you start Apache?

PostPosted: 05. January 2007 19:14
by seba_k
Well, apache is always on if my pc is on, it runs as a service.
But then I still don't know how to change the user or something.

PostPosted: 05. January 2007 19:38
by Wiedmann
But then I still don't know how to change the user or something.

Configure how a service is started
http://technet2.microsoft.com/WindowsSe ... 01033.mspx