#39773 [Opn->Fbk]: WinAPI bug
| From: | tony2001@php.net | Date: | Fri, 08 Dec 2006 18:03:20 +0000 |
| Subject: | #39773 [Opn->Fbk]: WinAPI bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106105@lists.php.net to get a copy of this message | ||
ID: 39773
Updated by: tony2001@php.net
Reported By: sobieh at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Windows 2003 Server
PHP Version: 5.2.0
New Comment:
YOU are using Administrator account, but your Apache does not.
Previous Comments:
------------------------------------------------------------------------
[2006-12-08 17:57:30] sobieh at gmail dot com
im using Administrator account.
i told :
PHP 5.1.0 WORKS
PHP 5.2.0 NOT WORKS
so there is something wrong with apache handler.
because the same script works on 5.2.0 by php.exe script.php
and not works by Apache and on 5.1.0 works in both ways.
------------------------------------------------------------------------
[2006-12-08 16:21:26] tony2001@php.net
Why do you think your Apache service is run as a user who has enough
privileges to access windows of other users?
AFAIK by default Apache service uses least privileged system account
possible.
See here: http://httpd.apache.org/docs/2.2/platform/windows.html
------------------------------------------------------------------------
[2006-12-08 15:54:01] sobieh at gmail dot com
Apache 2.0 Handler
the most wired thing is :
php.exe test_myapp.php
works.
but shell_exec('myapp.exe');
not.
------------------------------------------------------------------------
[2006-12-08 15:43:40] tony2001@php.net
I mean Server API, not web-server.
Open phpinfo() and at the top of the page you should see "Server API:
..." line.
------------------------------------------------------------------------
[2006-12-08 15:31:08] sobieh at gmail dot com
Apache 2.0.5 for Win32
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/39773
--
Edit this bug report at http://bugs.php.net/?id=39773&edit=1