Start XAMPP server from CMD

2

Is there a way to start / stop XAMPP (Apache server and mySql) using the terminal in Windows 10?

PS: The path where the program is is the one created by default when installing it

    
asked by gmarsi 17.11.2017 в 22:30
source

1 answer

4

Yes, you can use the following commands for it:

Start both services

  

\ xampp \ xampp_start.exe

Stop MySql and Apache services

  

\ xampp \ xampp_stop.exe

Start Apache

  

\ xampp \ apache_start.bat

Shutdown Apache

  

\ xampp \ apache_stop.bat

Start MySql

  

\ xampp \ mysql_start.bat

Stop MySql

  

\ xampp \ mysql_stop.bat

You just have to start the windows CMD and paste as is in the notes.

    
answered by 17.11.2017 / 22:39
source