How to install laravel on a server running different php versions -


im having issues install laravel under server running php 5.3 default i'm able pick version of php run under specific directory.

guzzlehttp/guzzle 4.1.2 requires php >=5.4.0 -> php version not satisfy requirement. 

so choose php 5.4 run on directory im trying install laravel, composer not know im running php 5.4 in directory.

how fix problem?

try running composer command --ignore-platform-reqs, e.g.

composer install --ignore-platform-reqs