- 重启php
service php-fpm restart 或 systemctl restart php-fpm
service nginx restart 或 systemctl restart nginx 或 /usr/local/nginx/sbin/nginx -s reload
#启动 service redis start #重启 service redis start restart # 先找到redis-server的位置 find / -name redis-server # 进入redis-server所在目录 cd /data/redis/bin # 启动 ./redis-server redis.conf
- 重启mysql
service mysqld restart 或 service mysql restart