参考网址
https://blog.youkuaiyun.com/qq_39217776/article/details/86562359
https://blog.youkuaiyun.com/y_z_w123/article/details/82740407
https://www.cnblogs.com/zhja/p/5806603.html
完成之后,要记得重启服务器
下面是一些用到的指令
// whereis openssl 查找openssl目录
// /usr/bin/phpize 报错 can't find config.m4,就需要复制重命名
// 腾讯云/usr/lib64/php /usr/include/php/ext 这有扩展
// /usr/include/php/ext/openssl 腾讯云中
// /etc/httpd/conf/httpd.conf 腾讯云中
// /usr/sbin/apachectl restart 重启apache
// systemctl status httpd 查看状态
// netstat -antlp | grep 80 查看80
// kill -9 946 杀死进程,946 是grep出来的