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

regrub's avatar

Upgrading to Laravel 6.0 on OSX failed due to PHP HHVM version

I'm trying to upgrade to version 6.0 but this is not possible because composer checks HHVM (not supporting PHP anymore) for the version of PHP while checking the version check within PHP gives me te following: php -v PHP 7.2.20 (cli) (built: Jul 16 2019 16:28:40) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Updating HHVM is not the solution because it does not support PHP anymore. Any thoughts on this?

0 likes
4 replies
regrub's avatar

Additional info: regrub-mcpro:kerndoel.nl rutgerburger$ php -v PHP 7.2.20 (cli) (built: Jul 16 2019 16:28:40) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies regrub-mcpro:kerndoel.nl rutgerburger$ composer u Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1 - This package requires php ^7.2 but your HHVM version does not satisfy that requirement. Problem 2 - laravel/framework v6.0.1 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement. - laravel/framework v6.0.0 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement. - laravel/framework 6.x-dev requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement. - laravel/framework 6.0.x-dev requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement. - Installation request for laravel/framework ^6.0 -> satisfiable by laravel/framework[6.0.x-dev, 6.x-dev, v6.0.0, v6.0.1].

Tray2's avatar

Then remove HHVM and run php-fpm instead.

regrub's avatar

@tray2 Thanks for the tip. I did it and it has no result. Still the HHVM version keeps coming up when I use composer u even when HHVM is uninstalled and removed. I wonder why composer does this? HHVM is irrelevant for PHP.

regrub's avatar
regrub
OP
Best Answer
Level 4

I installed Homestead and this provided me with all the requirements, but this a complicated solution for, in my eyes, a flaw in the composer check.

Please or to participate in this conversation.