当使用gitlab版本仓库存储laravel代码的时候一般会默认忽略掉.env文件这个时候,直接在仓库拉的代码是不能直接运行的会报500错误查看storge/logs/laravel.log文件可以看到这个报错production.ERRO…
LaravelS是一个胶水项目,用于快速集成Swoole到Laravel,然后赋予它们更好的性能、更多可能性.环境:ubuntu16+nginx+php7.1+LaravelS搭建高性能php服务器。依赖说明PHP>=5.5.9Swo…
1.d:\xampp\php\php-cgi.exe-b127.0.0.1:9000-cd:\xampp\php\php.ini2.nginxconf配置如下:#usernobody;worker_processes1;#error_log…
message.blade.php<!--成功提示框-->@if(Session::has("success"))<divclass="alertalert-successalert-dismissible"role="a…
引入css默认引入public目录<linkrel="stylesheet"href="{{URL::asset('css/xxx.css')}}">引入js默认引入public目录<scripttype="text/ja…
CSS预编译语言概述CSS作为一门样式语言,语法简单,易于上手,但是由于不具备常规编程语言提供的变量、函数、继承等机制,因此很容易写出大量没有逻辑、难以复用和扩展的代码,在日常开发使用中,如果没有完善的编码规范,编写的CSS代码会非常冗余且…
具体错误如下:Warning:require(../vendor/autoload.php)[function.require]:failedtoopenstream:Nosuchfileordirectoryin/bootstrap/au…
来源http://www.codepalace.xyz/article_show/31
nginx.conf配置如下:usernginxnginx;worker_processes4;error_loglogs/error.logerror;pidlogs/nginx.pid;worker_rlimit_nofile10240…
Ubuntu16.04LTS安装Nginx/PHP5.6/MySQL5.7(LNMP)与Laravel1、MySQL安装【安装MariaDB】MariaDB是MySQL的一个分支首先,更新升级系统$sudoaptupdate$sudoapt…
PHPlaravel5.0Blade模板引擎Api使用备注/***PHPlaravel5.0Blade模板引擎Api使用备注**///子模版中开头,调用@extends('wechat.layouts.base')//表示当前子模版继承we…
当使用env()函数获取.env文件中的值时,开发环境都是正常的,线上服务获取的是null原因就是当存在bootstrap/cache/config.php时,env()函数就只能在config目录下的配置文件的php里使用,不可以在其他地…
server{listen80;server_nameadmin.meiquick.local.com;#charsetkoi8-r;#access_log/var/log/nginx/admin.meiquick.local.access…
<!doctypehtml>CentOS7下配置Nginx+PHP7.1+MariaDB以及Laravel框架.mdhtml{overflow-x:initial!important}.CodeMirror{height:aut…
aravel基本重写规则location/{indexindex.htmlindex.htmindex.php;try_files$uri$uri//index.php?$query_string;}去除末尾的斜杠,SEO更加友好if(!-…