#39773 [Fbk->Opn]: WinAPI bug
| From: | sobieh at gmail dot com | Date: | Fri, 08 Dec 2006 18:12:52 +0000 |
| Subject: | #39773 [Fbk->Opn]: WinAPI bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106106@lists.php.net to get a copy of this message | ||
ID: 39773
User updated by: sobieh at gmail dot com
Reported By: sobieh at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Unknown/Other Function
Operating System: Windows 2003 Server
PHP Version: 5.2.0
New Comment:
omg dont treat me like an idiot please
Apache2 Service in using Root Administrator account.
everything is using this account because its the ONLY ACCOUNT on this
PC.
i checked it twice.
Apache is is using Administrator account.
and its RUNNING on this Account.
how many times i can tell that PHP 5.1.0 and ANY other version of PHP
can run that script without any problem and ONLY PHP 5.2.0 CAN'T.
as Apache Module - CAN'T
as CGI - CAN'T
Previous Comments:
------------------------------------------------------------------------
[2006-12-08 18:03:20] tony2001@php.net
YOU are using Administrator account, but your Apache does not.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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