1.下载phpredis[root@minion-1 ~]#wget https://codeload.github.com/phpredis/phpredis/zip/develop 2. 改名[root@minion-1 ~]#mv develop phpredis-develop.zip[root@minion-1 ~]#unzip phpredis-develop.zip[root@min
1. 在网站的目录里添加directory属性[root@minion-1 ~]# vi /usr/local/apache2.4/conf/extra/httpd-vhosts.conf<VirtualHost *:80> DocumentRoot "/www/www.kpop.com" ServerName w
1. 编辑http.conf主配置文件打开vhosts选项,搜索httpd-vhosts[root@minion-1 ~]# vi /usr/local/apache2.4/conf/httpd.conf#Virtual hostsInclude conf/extra/httpd-vhosts.conf2.设置vhosts文件里的目录路径等[root@minion-1 ~]# vi /usr/lo
1. 搜索Require all denied,把denied改成grantedServerName www.example.com:80## Deny access to the entirety of your server's filesystem. You must# explicitly permit access to web content directories in ot
安装此php版本前必须先安装另两篇Apche和myql安装环境,因为路径都是按照这两篇为基础的https://blog.51cto.com/popli3/2357295https://blog.51cto.com/popli3/2357211安装PHP安装yum环境(aliyun的yum环境)[root@minion-1~]#yum-yinstallbzip2-devellibmcrypt-dev
完美安装Centos7+apache2.4.38
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号