<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>

CC BY-SA 4.0
2019-10-14T12:44:54.687Z
Are you sure CLI is on 7.2? What do you get if you run `php -v`?
Oli
CC BY-SA 4.0
2020-10-03T16:36:30.340Z
@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?
Robert Frost
<install>
Can't finish install, getting error
# 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**: @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?  

---

## 0 answers

