Trying to install
Hi,
I'm trying to integrate the package to my laravel application and have the next error (attached).
Where should I digg to overcome it?
My application generally is a clone of https://github.com/brunogaspar/laravel4-starter-kit .
Thanks
Comments (10)
-
-
reporter PHP 5.3.25 (cli) (built: May 21 2013 12:45:04)
-
reporter That happens when I try to open http://local.laravel-start.com/anvard .
All the installation steps were performed.
-
Documentation on https://github.com/andrew13/Laravel-4-Bootstrap-Starter-Site says:
PHP >= 5.4.0 (Entrust requires 5.4, this is an increase over Laravel's 5.3.7 requirement) MCrypt PHP Extension
-
reporter ok, but as we see the problem is in anvard's code.
The application is working in general.
PHP 5.4 is a requirement for the Entrust extension, which provides a flexible way to add Role-based Permissions to Laravel4.
-
@pavelpolyakov
Yeah I had the same error awhile ago, you need to be running PHP 5.4 in otherwise if you are running 5.3 or lower, you'll receive the $this error. So upgrading your PHP to 5.4 will resolve this issue. Hopefully the developer or someone else can fix the bundle to work in PHP 5.3!
-
reporter Thanks, that helped!
-
Just to clarify, Laravel 4 requires PHP > 5.3.7 with mcrypt, not 5.4.
-
reporter - edited description
-
- changed status to closed
- Log in to comment
what version of php are you running?