centos如何安装php

36次阅读
没有评论

共计 399 个字符,预计需要花费 1 分钟才能阅读完成。

centos 如何安装 php

在 centos 系统中安装 php 的方法

1. 首先,在 centos 命令行中使用 yum 命令查看是否安装 php;

yum list installed | grep php

2. 若已有 php,可以执行以下命令删除;

yum -y remove php-common

3. 最后,原有的 php 删除后,在命令行中执行以下命令即可重新安装 php;

yum install -y --enablerepo=remi,remi-php56 php php-opcache php-pecl-apcu php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php-pdo php-pear php-fpm php-cli php-xml php-bcmath php-process php-gd php-commo

丸趣 TV 网 – 提供最优质的资源集合!

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-12-13发表,共计399字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)