美文网首页学ubuntuIT档案--PHP Develop
Ubuntu17 install apache2+php7+my

Ubuntu17 install apache2+php7+my

作者: 葡萄月令 | 来源:发表于2017-10-18 11:53 被阅读11次

    1.Step one (update apt):

    sudo apt-get update

    2.Step two (install apache2):

    sudo apt install apache2

    3.Step three(install php7):

    sudo apt install php7.0

    check php version

    php -v

    4.Step four(install apache2-mod-php):

    sudo apt install libapache2-mod-php7.0

    5.Step five(install mysql):

    sudo apt-get install mysql-server

    6.Step six(install php-mysql):

    sudo apt-get install php7.0-mysql

    7.Step seven(Restart mysql and apache):

    sudo service mysql restart
    sudo service apache2 restart

    相关文章

      网友评论

        本文标题:Ubuntu17 install apache2+php7+my

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