- 博客(20)
- 收藏
- 关注
原创 CentOS7 安装nginx 无法访问的问题
1.到云服务器提供商查看安全组有没有开通对应的端口并且绑定相应的实例2.查看当前系统的防火墙的状态,如果开启则需要添加响应的端口,不想开启的话,就直接关闭关闭防火墙systemctl stop firewalld.service或者运行以下命令添加80端口:firewall-cmd --zone=public --add-port=80/tcp --permanent重启防火墙服务即可:syst...
2018-04-23 14:02:41
11301
转载 Laravel 写入sql日志
1.laravel5.4在/app/Providers/AppServiceProvider.php代码如下<?phpnamespace App\Providers;use Illuminate\Support\ServiceProvider;use DB;class AppServiceProvider extends ServiceProvider{ /** ...
2017-11-09 13:47:33
2811
转载 centos7 systemctl用法
systemctl is-enabled servicename.service #查询服务是否开机启动systemctl enable *.service #开机运行服务systemctl disable *.service #取消开机运行systemctl start *.service #启动服务systemctl stop *.service #停止服务systemctl restart ...
2017-10-27 15:50:26
362
转载 no input file specified. thinkphp php5.5版本以上
no input file specified. thinkphp php5.5版本以上
2017-08-14 16:58:41
368
原创 apache虚拟主机配置
1.找到Apache的\conf目录下的httpd.conf文件,打开它,找到下面这两行: # Virtual hosts #Include conf/extra/httpd-vhosts.conf 把它改成下面这样: # Virtual hosts Include conf/extra/httpd-vhosts.conf2.找到A
2017-03-08 13:04:44
277
原创 H5的小应用 ThinkPHP 3.23 ajax
H5的小应用 ThinkPHP 3.23 ajax $('.pay').on('click',function () { $.ajax({ url:"{:U('Invite/followInvite')}", type:'get', data:{invite_uid:
2017-03-08 13:01:33
659
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人