免费SSL证书
Let’s Encrypt https://letsencrypt.org
certbot https://certbot.eff.org/
https://github.com/tollmanz/lets-encrypt-wp
ssl页面不安全 https://wummel.github.io/linkchecker/(里面有不是https的图片和链接)
ubuntu检查页面链接 http://ftp.debian.org/debian/pool/main/l/linkchecker/linkchecker-gui_9.3-5_all.deb
如何修复阻止混合内容的网站 https://developer.mozilla.org/zh-CN/docs/Security/MixedContent/How_to_fix_website_with_mixed_content
ssl证书安装失败 https://www.phpnote.cc/ubuntu16-04-lnmp-ssl
lnmp ssl证书失效
LNMP/LNMPA模式添加上0 3 */7 * * /bin/certbot renew –disable-hook-validation –renew-hook “/etc/init.d/nginx reload” ,LAMP模式添加上0 3 */7 * * /bin/certbot renew –disable-hook-validation –renew-hook “/etc/init.d/httpd restart”
手动更新的话建议再执行:/bin/certbot renew –disable-hook-validation –renew-hook “/etc/init.d/nginx reload” LAMP模式执行:/bin/certbot renew –disable-hook-validation –renew-hook “/etc/init.d/httpd restart” 看一下能否正常更新。
PHP各框架在nginx下规则及其它杂项
.user.ini open_basedir=/home/:/tmp/:/proc/
PHP加密
hash_func = md5 / sha1 #可由php.ini配置
PHPSESSIONID = hash_func(客户端IP + 当前时间(秒)+ 当前时间(微妙)+ PHP自带的随机数生产器)
Composer
中国全量镜像 https://pkg.phpcomposer.com/
修改 composer 的全局配置文件(推荐方式)
打开命令行窗口(windows用户)或控制台(Linux、Mac 用户)并执行如下命令:
1 2 |
composer config -g repo.packagist composer https://packagist.phpcomposer.com //linux 加上sudo |
常用第三方库
composer require guzzlehttp/guzzle
PHP教程集合
GIT教程集合
版本控制管理工具git使用方法记录 https://www.phpnote.cc/version-manage-git-info
git取消跟踪文件目录及使用gitignore忽略文件 https://www.phpnote.cc/git-push-gitignore-file
git使用过程中遇到的各种错误合集 https://www.phpnote.cc/git-push-pull-all-error
git多人协作与git自建服务器交互 https://www.phpnote.cc/git-multi-person-git-server
解决git版本控制代码冲突的方法和工具 https://www.phpnote.cc/git-code-conflict-merge
Linux下Debian7.5系统搭建Git服务器全过程 https://www.phpnote.cc/linux-debian7-5-git
Git服务器免密码SSH登录PUSH/PULL操作 https://www.phpnote.cc/git-server-no-login-ssh
git管理使用远程仓库 https://www.phpnote.cc/git-remote-use
Git项目代码自动布署之GitHooks https://www.phpnote.cc/git-hooks-project-code-auto