Fresh 7.11.21 Fatal install error - install_utils.php

Fresh Ubuntu 20.04 server, apache, MySQL, php 8.0
Uploaded latest zip file

Ran these exactly on new install path
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload
sudo chmod 775 config_override.php 2>/dev/null

I’m getting this error; I was unable to search for a common issue/fix.
Note: I shortened the real path to “/server-path” below

Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /server-path/install/install_utils.php:723 Stack trace: #0 /server-path/install/install_utils.php(723): fwrite(false, ‘\n2021-09-23 19:…’) #1 /server-path/install/install_utils.php(64): installLog(‘installerHook: …’) #2 /server-path/install.php(826): installerHook(‘pre_installFile…’, Array) #3 {main} thrown in /server-path/install/install_utils.php on line 723

Nevermind, I downgraded from php 8 to 7.4
I couldn’t find the minimum system requirements in the setup guide.

1 Like

There is a compatibility Matrix available already in the Docs to check which versions to use.