php常用命令
---------------------------------------------------------------
重启php
service php-fpm restart
---------------------------------------------------------------
查看apache版本号
httpd -v apache
---------------------------------------------------------------
重启apache
service httpd start 启动
service httpd restart 重新启动
service httpd stop 停止服务
apache位置
/etc/httpd/conf 和 /etc/httpd/conf.d
---------------------------------------------------------------
查看linux版本号
cat /etc/redhat-release
---------------------------------------------------------------
apache
启动
systemctl start httpd
停止
systemctl stop httpd
重启
systemctl restart httpd
mysql
启动
systemctl start mysqld
停止
systemctl stop mysqld
重启
systemctl restart mysqld
php-fpm
启动
systemctl start php-fpm
停止
systemctl stop php-fpm
重启
systemctl restart php-fpm
nginx
启动
systemctl start nginx
停止
systemctl stop nginx
重启
systemctl restart nginx