Body: <p>I am receiving this error when installing via shell:</p>
  
  <p>PHP Warning:  Unsupported declare 'strict_types'</p>
  
  <p>PHP Fatal error:  Default value for parameters with a class type hint can only be NULL</p>
  
  <p>Each error references "Bootup.php on line 3" and "Bootup.php on line 24" respectively.</p>
  
  <p>I am running php v7.2</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-14T12:44:54.687Z
Comments.Text: Are you sure CLI is on 7.2? What do you get if you run `php -v`?
Comments.UserDisplayName: Oli
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-03T16:36:30.340Z
Comments.Text: @Oli I'm on php 7.4 and -v from the command line gives 7.4 (cli). I was wondering the converse - perhaps e.g. bash scripts are not running with the cli version but another?
Comments.UserDisplayName: Robert Frost
Tags: <install>
Title: Can't finish install, getting error
ThreadText: # Can't finish install, getting error
  
  (Asked by: username_0 on 2019-10-12)
  
  I am receiving this error when installing via shell:
  
  PHP Warning: Unsupported declare 'strict\_types'
  
  PHP Fatal error: Default value for parameters with a class type hint can only be NULL
  
  Each error references "Bootup.php on line 3" and "Bootup.php on line 24" respectively.
  
  I am running php v7.2
  
  **Tags:** install
  
  > **Comments:**
  > **username_1**: Are you sure CLI is on 7.2? What do you get if you run `php -v`?  
  > **username_2**: @username_1 I'm on php 7.4 and -v from the command line gives 7.4 (cli). I was wondering the converse - perhaps e.g. bash scripts are not running with the cli version but another?  
  
  ---
  
  ## 0 answers
  
  