laravel
chenan0408
这个作者很懒,什么都没留下…
展开
-
Laravel5.5 第一次运行报错call to undefined function openssl cipher iv length()
这几天准备开始学习Laravel5.5,没想到第一次运行的时候就报了这个错误,后来各种搜索之后发现是环境配置的问题。 问题根源是 OpenSSL扩展加载失败 首先我的环境是PHP7.0+apache 解决方法: 1.打开你的php.ini文件开启 php_openssl.dll 2.打开httpd.conf 开启modules/mod_ssl.so 然后重启你的环境,原创 2017-12-15 19:07:22 · 5068 阅读 · 1 评论 -
The page has expired due to inactivity Please refresh and try again
post提交数据时候显示如下: The page has expired due to inactivity. Please refresh and try again123 这是由于在laravel框架中有此要求:任何指向 web 中 POST, PUT 或 DELETE 路由的 HTML 表单请求都应该包含一个 CSRF 令牌,否则,这个请求将会被拒绝。 eg: {{ cs转载 2018-01-16 16:27:04 · 2551 阅读 · 0 评论