- 博客(6)
- 收藏
- 关注
原创 2018年度知识总结
文章目录一、php部分1、php内置函数使用一、php部分1、php内置函数使用1、trim($string ,$need) 移除字符串两侧的空白字符或其他预定义字符。接收input流时使用,当$need 省略时,如果被省略,则移除以下所有字符“\0” - NULL“\t” - 制表符“\n” - 换行“\x0B” - 垂直制表符“\r” - 回车&amp
2019-01-15 18:38:53
390
原创 nginx不识别框架路由
在nginx.conf 中的server 添加 以下代码location / { if (!-e $request_filename){ rewrite ^/(.*)$ /index.php/$1 last; }}location ~ \.php($|/){ set $script $uri; set $path_info “”; ...
2018-12-05 18:13:03
996
原创 开发443端口
1.查看 /etc/sysconfig/iptables 文件是否存在/etc/sysconfig/iptables不存在,没有安装iptables防火墙可以通过以下命令安装iptables防火墙systemctl stop firewalldsystemctl mask firewalldyum install iptables-servicesservice iptables...
2018-12-04 14:47:43
924
原创 申请Let's Encrypt永久免费SSL证书
文章目录1 安装 git2 获取Let's Encrypt免费SSL证书3 Let's Encrypt免费SSL证书获取与应用4 nginx配置5 、解决Let's Encrypt免费SSL证书有效期问题1 安装 git yum instll git 2 获取Let’s Encrypt免费SSL证书 #获取letsencrypt git clone https://github.co...
2018-11-15 15:31:52
489
原创 Centos 搭建LAMP环境
文章目录1 安装 Apache2 安装 php 73 安装mysql5.73.1 修改密码3.2 安装扩展1 安装 Apache yum install httpd service httpd restart // 重启 chkconfig httpd on // 开机自动运行访问ip 或者 curl http://localhost 查看是否生效如果这时候发现无法访问公...
2018-10-16 18:27:39
178
原创 Ubantu 搭建LAMP环境
文章目录1 安装 Apache2 安装 MySQL3 安装 php apache模块4 安装中的一些基本配置1、安装下载工具 wget2、安装composer3、配置虚拟主机4、开启路由重写模块5、apache 配置错误码页面6、解决外部无法连接mysql 问题1 安装 Apache sudo apt-get update sudo apt-get install apache2如...
2018-09-30 16:43:33
3479
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人