2020
09-24
09-24
CentOS7系统搭建LAMP及更新PHP版本操作详解
本文实例讲述了CentOS7系统搭建LAMP及更新PHP版本操作。分享给大家供大家参考,具体如下:搭建LAMP环境用yum安装安装Apache安装Apache[root@localhost/]#yuminstallhttpdhttpd-devel启动Apache[root@localhost/]#systemctlstarthttpd设置Apache开机启动[root@localhost/]#systemctlenablehttpdCreatedsymlinkfrom/etc/systemd/system/multi-user.target.wants/httpd.serviceto/usr/lib/systemd/system/ht...
继续阅读 >
本文实例讲述了Centos7安装swoole扩展操作。分享给大家供大家参考,具体如下:我的PHP版本为PHP7.2.24更新源[root@localhosthtml]#yumupdate安装需要支持的扩展[root@localhosthtml]#yuminstallphp72w-devel[root@localhosthtml]#yuminstallphp72w-pear[root@localhosthtml]#yuminstallgcc[root@localhosthtml]#yuminstallgcc-c++[root@localhosthtml]#yuminstallgcc-g77安装swoole[root@localhost...