Sent to the WEB server (hosting, not localhost): http: // mywebserver / myYII
In the file config / web.php in the cookieValidationKey inserted
secret key in GUID format - generated by myself.
Launched http: //mywebserver/myYII/basic/requirements.php
Got: Your server configuration satisfies the minimum requirements by this application.
Launched http: //mywebserver/myYII/basic/web/index.php
Got: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “> = 7.2.0”. You are running 7.0.33.
But I cannot reinstall PHP!
Question: What can be done?
Thanks.
Removing codeception and lowering requirements are not Yii2 specific, but related with composer.
You should edit your composer.json file and remove the lines with codeception on it and change the "php": ">=7.2.0" line to something like "php": ">=7.0.0".
The best way to do though, would be to upgrade your PHP version to 7.2+ (if possible), then you would only need to install Yii2 via composer.