阅读模式:

最新centos7 搭建LNMP环境(centos7.2+php7+mysql5.7+nginx1.11+redis3.2)

查看:12963  回复:0  类型:  来源:php自学网  标签 php mysql redis nginx centos

        centos7.2+nginx1.10+php7+mysql5.7+redis 3.2.9环境的搭建:

centos7系统的安装:

http://zixuephp.net/article-173.html

nginx1.11的安装:

http://zixuephp.net/article-204.html

php7的安装:

http://zixuephp.net/article-207.html

mysql5.7的安装:

http://zixuephp.net/article-261.html

整合nginx和php,让nginx调用php-fpm解析php脚本:

打开/usr/local/nginx/conf/nginx.conf配置文件,开启支持

location ~ .php$ {
            root           html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /usr/local/nginx/html$fastcgi_script_name;
            include        fastcgi_params;
            index          index.php index.html;
        }

redis 3.2.9的安装:

http://zixuephp.net/article-267.html

其他方式搭建PHP环境教程http://zixuephp.net/article-1.html

centos 7.2 添加php7 的 php-fpm 开机启动

http://zixuephp.net/article-265.html

centos 7.2 添加php7 的 php-fpm 开机启动

http://zixuephp.net/article-265.html

centos 7 添加 redis 3.2.9 开机启动脚本

http://zixuephp.net/article-268.html

给php7安装redis扩展库

http://zixuephp.net/article-269.html


分享到:
2 0

发布评论:


登录:
  表情:
提交