新版本3.8.0或许会报错

tshuai

PHP>7.2时

composer require -W illuminate/database jenssegers/mongodb ^3.8.0

Problem 1

  • jenssegers/mongodb[v3.9.0, ..., v3.9.5] require illuminate/support ^9.0 -> found illuminate/support[v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
  • jenssegers/mongodb[v3.8.0, ..., v3.8.6] require illuminate/support ^8.0 -> found illuminate/support[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
  • Root composer.json requires jenssegers/mongodb ^3.8.0 -> satisfiable by jenssegers/mongodb[v3.8.0, ..., v3.9.5].

应该是版本不兼容导致,采用更高版本的jenssegers/mongodb ^4.7.0就可以了

304 0 0
0个回答

×
🔝