Running PHP hidden without a webserver?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sun Nov 06, 2005 5:26 am    Post subject: Running PHP hidden without a webserver? Reply with quote

Is it possible to run PHP on a Windows-machine when it starts up without having the black uggly CLI-window?
Back to top View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Sun Nov 06, 2005 11:03 am    Post subject: Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Thu May 04, 2006 5:19 pm    Post subject: Reply with quote

Found a simple way to start it hidden under Windows.

Simply use "start /B php.exe file.php".
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group