You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Olivier Roger <or...@prynel.com> on 2009/09/29 10:37:46 UTC

[users@httpd] Apache service launch cmd.exe windows

Hello,
I have a strange problem with an Apache 2.2.8 ssl on Windows Xp pro 
computer.
I have to turn on the option "Allow service to interact with desktop"  
which is located on the second tab (connexion) of the apache service 
configuration page in order to launch C++ application (with GUI) from php.
But when apache start it lauch 4 empty windows of cmd.exe  which never 
close unless if i stop the service... not very convenient isn't int ?
If i turn on this option while the service is running i have no problem 
until apache's reboot.

Note : i have an other apache (2.2.6 from wampserver.com) without this 
problem.

Any ideas ?
Thanks in advance :)

This an extract of apache error log but everthing seems ok to me :
[Tue Sep 29 10:11:34 2009] [notice] Apache/2.2.8 (Win32) mod_ssl/2.2.8 
OpenSSL/0.9.8g PHP/5.3.0 configured -- resuming normal operations
[Tue Sep 29 10:11:34 2009] [notice] Server built: Jan 18 2008 00:37:19
[Tue Sep 29 10:11:34 2009] [notice] Parent: Created child process 3836
[Tue Sep 29 10:11:34 2009] [notice] Child 3836: Child process is running
[Tue Sep 29 10:11:34 2009] [notice] Child 3836: Acquired the start mutex.
[Tue Sep 29 10:11:34 2009] [notice] Child 3836: Starting 64 worker threads.
[Tue Sep 29 10:11:34 2009] [notice] Child 3836: Starting thread to 
listen on port 443.
[Tue Sep 29 10:11:34 2009] [notice] Child 3836: Starting thread to 
listen on port 80.

PS : Sorry for my approximative english
----
Olivier

Re: [users@httpd] Apache service launch cmd.exe windows

Posted by Olivier Roger <or...@prynel.com>.
Olivier Roger a écrit :
> Hello,
> I have a strange problem with an Apache 2.2.8 ssl on Windows Xp pro 
> computer.
> I have to turn on the option "Allow service to interact with desktop"  
> which is located on the second tab (connexion) of the apache service 
> configuration page in order to launch C++ application (with GUI) from php.
> But when apache start it lauch 4 empty windows of cmd.exe  which never 
> close unless if i stop the service... not very convenient isn't int ?
> If i turn on this option while the service is running i have no 
> problem until apache's reboot.
>
> Note : i have an other apache (2.2.6 from wampserver.com) without this 
> problem.
>
> Any ideas ?
> Thanks in advance :)
>
> This an extract of apache error log but everthing seems ok to me :
> [Tue Sep 29 10:11:34 2009] [notice] Apache/2.2.8 (Win32) mod_ssl/2.2.8 
> OpenSSL/0.9.8g PHP/5.3.0 configured -- resuming normal operations
> [Tue Sep 29 10:11:34 2009] [notice] Server built: Jan 18 2008 00:37:19
> [Tue Sep 29 10:11:34 2009] [notice] Parent: Created child process 3836
> [Tue Sep 29 10:11:34 2009] [notice] Child 3836: Child process is running
> [Tue Sep 29 10:11:34 2009] [notice] Child 3836: Acquired the start mutex.
> [Tue Sep 29 10:11:34 2009] [notice] Child 3836: Starting 64 worker 
> threads.
> [Tue Sep 29 10:11:34 2009] [notice] Child 3836: Starting thread to 
> listen on port 443.
> [Tue Sep 29 10:11:34 2009] [notice] Child 3836: Starting thread to 
> listen on port 80.
>
> PS : Sorry for my approximative english
> ----
> Olivier
Ok i found the answer by my self.
In my httpd.conf the use of rotatelogs launch the cmd.exe windows when 
the "Allow service to interact with desktop" is set to true

-- 
		
Olivier ROGER
Développeur Web
Tél : +33(0)3 80 21 99 31
oroger@prynel.com <ma...@prynel.com> 	Pryn?l S.A.S
RD974 - Corpeau
21190 Meursault - France