Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bwrice's avatar
Level 11

Composer won't install Laravel 5.4+ because my php version is 5.5.36 on OSX

However, I'm using a homestead/vagrant box as my development environment with php 7 installed on it. If I try to install laravel directly in my homestead environment, I get a "mkdir() Protocol error"

0 likes
3 replies
bwrice's avatar
Level 11

Was able to install 5.4 on the homestead box by changing the file permissions on the folders it was being mapped to.

WebKenth's avatar

Just curious, any reason you don't use valet? :)

Mittensoff's avatar

Download php/mysql/apache and change 10 lines in total for your development environment. There's even guides how to do it so you can't do it wrong.

This is more of an advice then a solution though.

Please or to participate in this conversation.