Changing the php username

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Changing the php username

Postby seba_k » 05. January 2007 16:12

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
seba_k
 
Posts: 5
Joined: 18. October 2006 16:45

Postby Wiedmann » 05. January 2007 16:32

What is the default php user?

There is no PHP user...

BTW:
What is your real problem? Please describe it more detailed.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby seba_k » 05. January 2007 16:48

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.
seba_k
 
Posts: 5
Joined: 18. October 2006 16:45

Postby Wiedmann » 05. January 2007 16:53

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?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby seba_k » 05. January 2007 19:14

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.
seba_k
 
Posts: 5
Joined: 18. October 2006 16:45

Postby Wiedmann » 05. January 2007 19:38

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
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 94 guests

cron