日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

yum search php7,yum install php7 in centos6

發布時間:2023/12/4 php 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 yum search php7,yum install php7 in centos6 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

如果有安裝的PHP包,先刪除他們yum list installed | grep 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

yum 安裝我們需要的軟件1.安裝epel軟件源1.rpm -qa | grep epel-release 確認當前機器是否用 epel-release (這個源有非常豐富的軟件包)

2.sudo yum install epel-release

3.yum --disablerepo=epel -y update ca-certificates2.php7.1 + php-fpm + nginx + apache 統統都可以用 yum 安裝啦rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpmyum search php71w 看下為php7.1版本提供了哪些包常用包說明:

mod_php71w.x86_64 : PHP module for the Apache HTTP Server

php71w-bcmath.x86_64 : A module for PHP applications for using the bcmath library

php71w-cli.x86_64 : Command-line interface for PHP

php71w-common.x86_64 : Common files for PHP

php71w-devel.x86_64 : Files needed for building PHP extensions

php71w-fpm.x86_64 : PHP FastCGI Process Manager

php71w-gd.x86_64 : A module for PHP applications for using the gd graphics library

php71w-ldap.x86_64 : A module for PHP applications that use LDAP

php71w-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling

php71w-mcrypt.x86_64 : Standard PHP module provides mcrypt library support

php71w-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases

php71w-pdo.x86_64 : A database access abstraction module for PHP applications

php71w-pecl-redis.x86_64 : Extension for communicating with the Redis key-value store

php71w-opcache.x86_64 : An opcode cache Zend extension

php71w-soap.x86_64 : A module for PHP applications that use the SOAP protocol

php71w-xml.x86_64 : A module for PHP applications which use XML3.安裝yum install mod_php71w.x86_64 php71w-fpm.x86_64 php71w-devel.x86_64 php71w-bcmath.x86_64 php71w-cli.x86_64 php71w-common.x86_64 php71w-gd.x86_64 php71w-ldap.x86_64 php71w-mbstring.x86_64 php71w-mcrypt.x86_64 php71w-mysqlnd.x86_64 php71w-pdo.x86_64 php71w-pecl-redis.x86_64 php71w-opcache.x86_64 php71w-soap.x86_64 php71w-xml.x86_64 -y

如果選擇用 nginx 那么 mod_php71w.x86_64 就可以不裝了,這個包會自動裝 apache.

創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎

總結

以上是生活随笔為你收集整理的yum search php7,yum install php7 in centos6的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。