wampmanager cli options
Posted by: antitrust (78.97.23.---)
Date: September 09, 2010 02:09PM

Hi,

How can I use wampmanager.exe from command line input to restart services, put online ?

Many thanks in advance smiling smiley

Best regards,
Claudiu

Options: ReplyQuote
Re: wampmanager cli options
Posted by: stevenmartin99 (---.251.255.11.threembb.ie)
Date: September 09, 2010 02:41PM

Not using wampmanager directly

But u could call the script that wampmanager calls to do this from the cli

Look in wampmanager.ini

Find the menu item and copy the command.

Fix the path so it points to the php cli exe


I can write you up an example later when I am at pc

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: wampmanager cli options
Posted by: antitrust (78.97.23.---)
Date: September 09, 2010 02:51PM

found the command but this must be interpreted by wampserver ? and generate the command ?

"c:/wamp/bin/php/php5.3.0/php-win.exe";Parameters: "onlineOffline.php off";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated

Options: ReplyQuote
Re: wampmanager cli options
Posted by: stevenmartin99 (---.251.255.11.threembb.ie)
Date: September 09, 2010 03:07PM

Yes but u can rewrite this so php cli can run it

c:/wamp/bin/php/php5.3.0/php-win.exe onlineOffline.php


U will then need to run the refresh.php script

I may just make a small exe that u can use from the command line- it's a good idea and less likely to have trouble with relative paths

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: wampmanager cli options
Posted by: antitrust (78.97.23.---)
Date: September 09, 2010 03:20PM

thank you very much for your help smiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.