美文网首页
nginx+php7+mysql环境搭建

nginx+php7+mysql环境搭建

作者: 与子笑 | 来源:发表于2020-08-28 11:06 被阅读0次
这花像病毒

注定这是一篇流水文。

ubuntu16.04,当然这有两个版本,一个是服务器版本,一个是桌面版本,两个用来在虚拟机上搭建都行,更流行的是用服务器版本,桌面版本会有一些问题,比如要删锁,要换源,有一个好处是桌面版的命令行很漂亮,字体也很漂亮,人看起来很舒服,环境搭建起来后在虚拟机的浏览器上能够直接看到效果。

    服务器版本的安装默认会安装mysql,这里记录一下命令。

apt-get -y install nginx ,安装nginx,

apt-get -y install php7.0-fpm安装php7

apt-get -y install php7.0-mysql php7.0-curl php7.0-gd php7.0-intl php-pear php-imagick php7.0-imap php7.0-mcrypt php-memcache php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-mbstring php-gettext
让mysql获得php7支持

如果你的终端模拟器连接不上你的服务器的话, sudo apt-get install openssh-server openssh-client 执行这一句

    没了。(注,现在用7.2了,2018-5-20)

(这篇文章写于2017-01-14,现在是2020.8.20,又涨到7.3了)
原文链接:nginx+php7+mysql环境搭建-PHP

相关文章

  • nginx+php7+mysql环境搭建

    注定这是一篇流水文。 ubuntu16.04,当然这有两个版本,一个是服务器版本,一个是桌面版本,两个用来在虚拟机...

  • nginx+php7+mysql环境搭建-PHP

    服务器 -@amazeUI -2017-01-14 06:32:56 注定这是一篇流水文。 ubuntu16....

  • React Native学习总结篇

    一、环境搭建 1.1 React Native环境搭建 1.1.1 IOS环境搭建 环境:MacOS 注意:不要使...

  • linux 第四天

    Lamp环境搭建 /*******************Lamp环境搭建:*******************...

  • codePush说明

    codePush环境搭建 环境搭建文章:环境搭建 git地址:codePush git地址2.0.3,And...

  • angular学习--02英雄指南

    环境搭建 angular官网--搭建本地开发环境和工作空间windows 10 搭建angular开发环境免搭建环...

  • Gradle开发-Groovy环境搭建

    ##Groovy环境搭建 在使用 Groovy 之前首先要搭建几个环境: Groovy 的环境搭建 JDK 环境搭...

  • 搭建 LNMP + CodeIgniter 开发环境

    搭建 LNMP + CodeIgniter 开发环境搭建 LNMP 环境首先搭建 LNMP 的服务器环境安装 Ng...

  • iOS中RN与Flutter混合开发

    一 搭建环境 1. 搭建flutter环境 1.1 搭建系统开发环境 参考链接:https://flutter....

  • 第一个MyBatis程序

    思路:搭建环境---导入MyBatis--编写代码---测试! 一、搭建环境 1、搭建数据库环境: engine=...

网友评论

      本文标题:nginx+php7+mysql环境搭建

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