N
N
Nikita Salnikov2021-07-10 16:23:40
PHP
Nikita Salnikov, 2021-07-10 16:23:40

How to solve the problem with opening a site in php on a local apache server?

This error appears when starting the site on a local server. what is it and how to solve it? I can't find something on the internet. Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.1.33. in C:\OpenServer\domains\mysite\vendor\composer\platform_check.php on line 24

I understand PHP needs to be updated?

tried that doesn't help. still getting an error. how to solve it?
60e99f37d8489169149346.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThunderCat, 2021-07-10
@ThunderCat

You have different console puff and puff through Apache.

V
vitaly_74, 2021-07-10
@vitaly_74

I also use OpenServer, make Apache's php version the same as the php version in the selector.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question