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

adammench's avatar

Problem installing Valet on OS X El Capitan

Hi!

I have an issue, I have successfully installed PHP 7 and Valet using the instructions on laravel.com. However, When checking the version of php by running php -v it says 5.5.36 still. To make it clear, I ran:

brew install homebrew/php/php70

Trying another method, curl -s http://php-osx.liip.ch/install.sh | bash -s 7.0 I get the following:

Detected OS X El Capitan 10.11. All ok.
****
ERROR! 32 BIT NOT SUPPORTED!
****
No 64bit capable system found. Your hardware is too old.
We don't support that (yet). Patches are welcome ;)
If you think that's wrong, try
****
curl -o install.sh -s http://php-osx.liip.ch/install.sh | bash install.sh force
****

I am on a Retina Macbook Pro (mid 2012) running OS X 10.11.6.

Valet itself reports that it can successfully link a folder, however I expect that the PHP version that I am currently running is the cause of the issue of sites not being served. Any tips? Thanks!

0 likes
2 replies
Snapey's avatar
Snapey
Best Answer
Level 122

For me, installing php7 did not remove 5.6. I think it comes down to which version is found first in your path.

1 like
adammench's avatar

Thanks @Snapey - after manually having to remove an old PHP version, I then made sure that PHP7 was available in my $PATH and restarted Valet, after which point I got it working. Thank you

Please or to participate in this conversation.