killall apache如果不是apache就是httpd。
killall apache
service需要添加对应的服务脚本到/etc/init.d/ rpm,apt-get安装的apache是自动添加service。xampp需要手动配置service文件并放至/etc/init.d/