Home > Article > Backend Development > How to use xampp command to stop apache on linux?
Can’t turn it off using service
Can’t turn it off using service
killall apache
If it’s not apache, it’s httpd.
Service needs to add the corresponding service script to /etc/init.d/rpm. Apache installed by apt-get automatically adds service. xampp needs to manually configure the service file and put it in /etc/init.d/