Symfony2, composer, your PHP version (5.6.18) overriden by “config.platform.php” version (5.3.9) does not satisfy requirement

后端 未结 3 1822
悲&欢浪女
悲&欢浪女 2021-02-03 20:16

I am trying to install doctrine to my project. I am getting the error about the wrong PHP version. What can be done to remove the real reason for this error? The way to overcome

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-03 20:19

    In your composer.json, remove the following lines :

    // ...
    "config": {
        "platform": {
            "php": "5.3.9"
        }
    },
    // ...
    

    See platform config in composer.

提交回复
热议问题