#26537 [Fbk->Opn]: Unable to run PHP5 when web-server started as a NT service
| From: | andrey at cherezov dot koenig dot su | Date: | Sun, 07 Dec 2003 01:09:04 +0000 |
| Subject: | #26537 [Fbk->Opn]: Unable to run PHP5 when web-server started as a NT service | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51760@lists.php.net to get a copy of this message | ||
ID: 26537
User updated by: andrey at cherezov dot koenig dot su
Reported By: andrey at cherezov dot koenig dot su
-Status: Feedback
+Status: Open
Bug Type: CGI related
Operating System: Windows XP
PHP Version: 5.0.0b2 (beta2)
New Comment:
This web-server is acWEB (acWEB.sourceforge.net). It can run as NT
service or as user-level application (when started as acWEB.exe, not
from services control panel and not "net start acWEB"). PHP4 (and PHP3
too) works under acWEB in both modes - service and non-service. When I
change association of *.php files from PHP4.exe to PHP5.exe in the
acWEB config - PHP5 works right only in non-service mode; but when I
start acWEB as a NT service - PHP5.exe did not produce any output to
the acWEB CGI pipe.
Previous Comments:
------------------------------------------------------------------------
[2003-12-06 06:02:56] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-12-06 04:49:54] andrey at cherezov dot koenig dot su
Description:
------------
When I run php5.exe as a CGI from a web-server running as ordinal
program (not a service) - php5 works perfect. If I start the same
web-server as NT service and run CGI (php5.exe) with the same
parameters again - php5.exe did not produce any output at all, just
finished.
php4.exe (any version) works OK in this web-server both in service mode
and ordinal app mode.
Reproduce code:
---------------
PhpInfo();
Expected result:
----------------
PHP Version 5.0.0b2
System Windows NT CHEREZOV 5.1 build 2600
Build Date Oct 30 2003 12:34:01
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path G:\WINXP\php.ini
PHP API 20030820
PHP Extension 20020429
Zend Extension 90021012
Debug Build no
Thread Safety enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
...
(This text displayed if I run php5.exe from NON service web-server).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26537&edit=1