美文网首页
centos 搭建项目环境

centos 搭建项目环境

作者: 微笑城ios | 来源:发表于2019-06-17 21:16 被阅读0次

    安装apache

    1. yum install httpd
    2. 启动服务 apachectl start
    3. 停止服务 apachectl stop

    安装php7.0

    1. rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    2. rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
    3. yum install php70w.x86_64 php70w-cli.x86_64 php70w-common.x86_64 php70w-gd.x86_64 php70w-ldap.x86_64 php70w-mbstring.x86_64 php70w-mcrypt.x86_64 php70w-mysql.x86_64 php70w-pdo.x86_64**
    

    测试一下 php -v

    PHP 7.0.19 (cli) (built: May 29 2019 11:04:13) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    

    安装mysql

    根据这里网站来做

    相关文章

      网友评论

          本文标题:centos 搭建项目环境

          本文链接:https://www.haomeiwen.com/subject/zzzzfctx.html