定位配置文件php.ini的位置
php --ini |grep Loaded
查看进程
ps -ef | grep php-fpm
ps -ef | grep nginx
杀进程
sudo kill -quit 3372
nginx停止、启动
/usr/sbin/nginx -s stop
/usr/sbin/nginx
查看PHP安装情况
rpm -qa|grep php
卸载(--nodeps 强制删除)
rpm -e php73-php-bcmath-7.3.17-1.el7.remi.x86_64
rpm -e php73-php-cli-7.3.17-1.el7.remi.x86_64
rpm -e php73-php-fpm-7.3.17-1.el7.remi.x86_64
rpm -e php73-php-gd-7.3.17-1.el7.remi.x86_64
rpm -e php73-php-json-7.3.17-1.el7.remi.x86_64 --nodeps
rpm -e php73-runtime-2.0-1.el7.remi.x86_64 --nodeps
rpm -e php73-php-common-7.3.17-1.el7.remi.x86_64 --nodeps