View previous topic :: View next topic |
Author |
Message |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Sun Nov 06, 2005 5:26 am Post subject: Running PHP hidden without a webserver? |
|
|
Is it possible to run PHP on a Windows-machine when it starts up without having the black uggly CLI-window? |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sun Nov 06, 2005 11:03 am Post subject: |
|
|
I've wondered this too, it's possible to start it minimized, but I don't think there's a "hidden" mode. I have a script which runs via pycron every 5 minutes to check if all the vital programs are running. (I.E. One's which can't be added as services.) That works through creating and forking a window for every application that needs to be started, those windows start minimized for some reason, not sure why.
I suppose you could make an application to load the script into it's process, and make sure the application is hidden. I'm sure someone has wondered the same thing in the past too, there should be plenty of results on google. (Although Altavista > Google.) _________________
 |
|
Back to top |
 |
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Thu May 04, 2006 5:19 pm Post subject: |
|
|
Found a simple way to start it hidden under Windows.
Simply use "start /B php.exe file.php". |
|
Back to top |
|
 |
|