![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Laravel
蛋炒饭com
你是猴子请来的救兵吗
展开
-
破Laravel白屏问题
白屏没有错误提示一般是php.ini的display_errors没有启用的问题 所以首先确保display_errors已经是On的状态 然后打开Debug模式 在app/config/app.php中将’debug’=>false 改为’debug’=>true 这样如果是PHP或者配置问题就会在页面中显示 如果是框架或者程序问题,就可以在app/storage/logs/larav转载 2015-04-20 20:17:36 · 1906 阅读 · 0 评论 -
ubuntu LAMP 下laravel5.0 运行环境设置
Larave5 LAMP 设置 一、LAMP设置 安装apache2 sudoapt-get install apache2 安装php5 sudoapt-get install php5 安装php扩展 sudoapt-get install php5-mcrypt sudophp5enmod mcrypt原创 2015-04-21 22:35:33 · 454 阅读 · 0 评论 -
调用laravel函数的3种方法
以Laravel的返回视图函数为例 1.从helpers.php辅助函数中调用 function view($view = null, $data = array(), $mergeData = array()) { $factory = app('Illuminate\Contracts\View\Factory'); if (func_num_args() === 0)原创 2015-04-27 16:19:00 · 6725 阅读 · 0 评论