Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Command line options



Threaded Mode | Print  

 Command line options (3 Replies, Read 15079 times)
breskva
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hi,

i would like to be able to reset the apache server via the command line, but i cant seem to find the options/arguments anywhere.

Does Ammps support commands via the command line? If it does where could i find the list of accepted options?

Thank you
IP: --   

Command line options
merlin_it
Group: Member
Post Group: Newbie
Posts: 7
Status:
Hello,

I do believe I read in the documentation that command line switches are unavailable at this time. I was looking specifically for the Linux docs but I imagine they are the same for the Mac and Windows as well.

It has something to do with how it calls the configs, the GUI sets up the environment variables is my guess. Its a pain, however the work they have saved me, in putting this together, I tend to over look this as a negative. :)
IP: --   

Command line options
nikhil89
Group: Softaculous Team
Post Group: Elite Member
Posts: 467
Status:
Hi,

We currently do not support command line in AMPPS.

You can start Apache & MySQL service using following commands:
-> For Linux
Code
/usr/local/ampps/apache/bin/httpd
/usr/local/ampps/mysql/bin/mysqld


-> For MAC
Code
/Applications/AMPPS/apache/bin/httpd
/Applications/AMPPS/mysql/bin/mysqld


-> For Windows
Code
/path/to/AMPPS/apache/bin/httpd
/path/to/AMPPS/mysql/bin/mysqld


To stop the above process use the following command:
-> For Linux & MAC
Code
sudo killall httpd
sudo killall mysqld


-> For Windows
Code
taskkill /IM httpd.exe
taskkill /IM mysqld.exe


We will try to include the same in our next update. Please let us know if you need any further information.
IP: --   

Command line options
breskva
Group: Member
Post Group: Newbie
Posts: 2
Status:
Thanks nikhil89!

I got it working
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 8:43 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.029