---
title: "ubuntu上搭建laravel运行环境Error in exception handler错误"
author: "vfate_linux"
date: "2014-04-28T18:14:54Z"
tags: ["PHP", "Ubuntu", "调试", "运行环境"]
categories: ["编程语言"]
slug: "ubuntu-laravel-error-in-exception-handler"
draft: false
lastmod: "2014-05-09T18:18:23Z"
id: 2056311
url: "https://govfate.iteye.com/blog/2056311"
---

出现如题错误 先开启laravel的调试模式:
app/config/app.php 文件中
'debug' => flase,修改成 'debug' => true,

开启调试模式后就能非常清楚的知道出错的原因了,app/storage 目录的权限问题,运行apache服务器的默认用户是www-data所以解决如下

```shell
sudo chown -R www-data:www-data app/storage
```

即可~~
参考http://www.golaravel.'debug' => true,com/docs/4.1/installation/

假如你用的是zend studio 一直提示什么:must implement inherited abstract method的错误
这个是zend studio的问题不是laravel的问题哦~~
参考http://forums.zend.com/viewtopic.php?t=76153&f=59