在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
删除旧php包 yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 配置epel源 yum install -y epel-release
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
配置remi源 rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 安装php5.6.x yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof 安装php-fpm yum install --enablerepo=remi --enablerepo=remi-php56 php-fpm 配置开机启动服务 systemctl restart php-fpm
systemctl enable php-frm
查看是否安装成功 ps -ef | grep php
netstat -anp | grep 9000
删除旧php包 yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 配置epel源 yum install -y epel-release
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
配置remi源 rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 安装php5.6.x yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof 安装php-fpm yum install --enablerepo=remi --enablerepo=remi-php56 php-fpm 配置开机启动服务 systemctl restart php-fpm
systemctl enable php-frm
查看是否安装成功 ps -ef | grep php
netstat -anp | grep 9000
|
2022-07-29
2022-08-17
2022-11-06
2022-07-30
2022-08-17
请发表评论