How to start Apache and MySQL automatically when Windows 8 comes up

后端 未结 11 1722
野性不改
野性不改 2020-12-23 11:29

I am using XAMPP, version 3.2.1. I just installed it on Windows 8. Every time I need to go to the XAMPP Control Panel to start services (MySQL, Apache,...); in Windows&

11条回答
  •  礼貌的吻别
    2020-12-23 12:01

    You can do it via cmd.

    For Apache

    Open cmd in administrator mode. Change directory to C:/xampp/apache/bin. Run the command as httpd.exe -k install. Your Apache server service will be installed. You can start it from services.

    For MySQL

    Change directory to C:/xampp/mysql/bin. Run the command as mysqld --install. Your MySQL service will be installed. You can start it from services.

    Note: Make sure the selected Apache and MySQL services are set to start automatically.

    You're done. There isn't any need to launch the XAMPP control panel

提交回复
热议问题