baker95935

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年7月24日

摘要: 安装的是5.4 那么安装完毕了,怎么设置nginx和php 解析 1 添加nginx 默认主页index.php vim .../etc/nginx/nginx.conf 2配置nginx支持php vim .../etc/nginx/nginx.conf 3 安装php-fpm connect() 阅读全文
posted @ 2017-07-24 16:18 baker95935 阅读(272) 评论(0) 推荐(0) 编辑

2017年7月21日

摘要: nginx提示Job for nginx.service failed because the control的问题 可以是用这个命令,查看具体哪里报错 这个的提示 是 配置文件中 未知的erver 少了个s 其他的具体问题具体分析吧 阅读全文
posted @ 2017-07-21 17:39 baker95935 阅读(6752) 评论(0) 推荐(0) 编辑

摘要: 安装Nginx 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld centos7用的firewalld 阅读全文
posted @ 2017-07-21 15:04 baker95935 阅读(230) 评论(0) 推荐(0) 编辑

2017年7月15日

摘要: 全部上传成功为true,全部上传失败为false,部分成功为成功数量 * ["path"]=>array() {已成功的文件路径} * ["error"]=>array() {失败信息} * ... 阅读全文
posted @ 2017-07-15 17:38 baker95935 阅读(591) 评论(0) 推荐(0) 编辑

2017年7月10日

摘要: https://help.aliyun.com/document_detail/55359.html?spm=5176.product44282.4.7.O4lc1n 阿里云短信服务地址,感冒的下载看看 1 文件存放位置的问题 阿里云的短信接口 属于第三方扩展 所以文件放在 thinkphp\ven 阅读全文
posted @ 2017-07-10 22:09 baker95935 阅读(372) 评论(0) 推荐(0) 编辑

2017年6月27日

摘要: php部分代码 其他:ajax上传 编辑的官方演示地址 http://plugins.krajee.com/file-input-ajax-demo/3 代码中引入3个文件就可以 fileinput.css fileinput.js zh.js 阅读全文
posted @ 2017-06-27 22:30 baker95935 阅读(1506) 评论(0) 推荐(0) 编辑

2017年6月26日

摘要: 就是其实新建一个 多域名访问的设置 <VirtualHost *:80> DocumentRoot /var/www/ ServerName IP</VirtualHost> 与其改其他设置,不如改这个了,这个方式最简单了 阅读全文
posted @ 2017-06-26 22:03 baker95935 阅读(134) 评论(0) 推荐(0) 编辑

摘要: 要想在linux上实现网页服务器(www)需要Apache这个服务器软件,不过Apache仅能提供最基本的静态网站数据而已,想要实现动态网站的话,最好还是要PHP与MySQL的支持,所以下面我们将会以LAMP(linux+Apache+MySQL+PHP)作为安装与设置的介绍。 LAMP所需软件与其 阅读全文
posted @ 2017-06-26 21:41 baker95935 阅读(467) 评论(0) 推荐(0) 编辑

2017年6月20日

摘要: 解决 php 报错 open_basedir restriction in effect或者nginx提示No input file specified怎么办 问题是出现在了PHP.INI上面了 ,原因是php.ini里设置了 open_basedir=/var/web/w0895/:/tmp:/u 阅读全文
posted @ 2017-06-20 00:11 baker95935 阅读(283) 评论(0) 推荐(0) 编辑

2017年6月5日

摘要: 1 安装VirtualBox和Vagrant 在启动Homestead环境之前,你必须安装VirtualBox(https://www.virtualbox.org/wiki/Downloads)和Vagrant(http://www.vagrantup.com/downloads.html)。这两 阅读全文
posted @ 2017-06-05 22:14 baker95935 阅读(233) 评论(0) 推荐(0) 编辑