11 2020 档案
Centos给文件设置了777权限仍不能访问:
摘要:原因:开启了SELinux导致 1.查看SELinux状态: /usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开启状态 SELinux status: enabled 2.关闭SELinux:a.临时关闭(不用重启机器): setenforce 阅读全文
posted @ 2020-11-27 18:22 e度空间 阅读(285) 评论(0) 推荐(0)
Windows 下apapche 和php 配置
摘要:网上下载好apache 和php php 配置 修改ext路径 extension_dir ="d:/php/php5.6.16/ext/" 复制到C:\Windows 下 PHP 修改配置文件 ServerRoot "d:/apache/apache2.4.17" 多个listen Listen 阅读全文
posted @ 2020-11-20 17:55 e度空间 阅读(140) 评论(0) 推荐(0)
阿里云centos 8 安装PHP redis扩展
摘要:找不到 phpize phpize是属于php-devel的内容,因此在centos中只要运行如下命令: yum install php-devel 然后就会安装上phpize了。运行phpize是为了生成./configure文件。 下载源 wget https://github.com/phpr 阅读全文
posted @ 2020-11-10 12:28 e度空间 阅读(321) 评论(0) 推荐(0)
wordpress官方的伪静态是通过.htaccess实现的,但nginx并不支持.htaccess,网上找到wordpress伪静态的方法:
摘要:location / { index index.php; if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite ( 阅读全文
posted @ 2020-11-07 14:58 e度空间 阅读(250) 评论(0) 推荐(0)