forge-cli icon indicating copy to clipboard operation
forge-cli copied to clipboard

PHP8 Version Trouble

Open quarterdeck opened this issue 4 years ago • 4 comments

Don't know why this check is failing. I've got Homebrew installed in /opt/homebrew on an M1 Mac, don't know if that's related.

qd@ariadne ~ % forge

Box Requirements Checker
========================

> Using PHP 8.0.3
> PHP is using the following php.ini file:
  /opt/homebrew/etc/php/8.0/php.ini

> Checking Box requirements:
  E.

                                                                                
 [ERROR] Your system is not ready to run the application.                       
                                                                                

Fix the following mandatory requirements:
=========================================

 * The application requires the version "^7.3" or greater.

quarterdeck avatar Apr 22 '21 07:04 quarterdeck

I'm seeing this too, with forge-cli 1.2 and PHP 8.0.6 on macOS.

Synchro avatar May 26 '21 14:05 Synchro

Same issue here

Iamscaredofcode avatar Jun 11 '21 18:06 Iamscaredofcode

I'm running into the same issue. I'm installing it with composer global, I have tried reinstalling but I cannot make it work with PHP 8.

$ forge --help

Box Requirements Checker
========================

> Using PHP 8.0.3
> PHP is using the following php.ini file:
  /usr/local/etc/php/8.0/php.ini

> Checking Box requirements:
  E.


 [ERROR] Your system is not ready to run the application.


Fix the following mandatory requirements:
=========================================

 * The application requires the version "^7.3" or greater.

julienbourdeau avatar Jun 26 '21 09:06 julienbourdeau

One way to make it work, at least until we figure it out is to bypass box requirement checks.

BOX_REQUIREMENT_CHECKER=0 forge --help

I'm starting to think the issue is that the binary wasn't rebuilt after adding PHP 8 supports 🤔 Last build is 8 months old but php8 support was added 7 months ago.

@mpociot Can you point me where to find out how to build the binary builds/forge, please? I don't get it. 🙏

julienbourdeau avatar Jun 26 '21 09:06 julienbourdeau