写PHP的,也没啥
逻辑上来说这是不正常的。。。
一看你这权限就不对啊,这个项目应该是 www-data 这个用户所有的。
你认真看看视频吧
还是正儿八经来吧,发多了之后就有可能被 ban
你看这个 https://www.laravist.com/series/deploy-laravel-app-on-vps
注意 nginx 的配置 和 vendor 目录是否有提交
user-angent 设置,2. post 路由
啊哈,挺好的。
这就是学习和举一反三的过程
服务器设置,代码再设置
Http/Middlewares/VerifyCsrfToken 添加
protected $except = [ '/test/*' ];
这个就是:
Schema::create('articles', function (Blueprint $table) { $table->increments('id'); $table->string('title', 100); $table->text('content'); $table->timestamps(); });
实在不行,你重写这个类
https://github.com/Gregwar/Captcha/blob/master/PhraseBuilder.php
把这个 use Illuminate\Http\Request 删了,而是使用 use Request;