laravel composer update : the requested PHP extension dom is missing from your system

后端 未结 6 1517
醉酒成梦
醉酒成梦 2020-12-07 22:19

I am using ubuntu 16.04, laravel 5.2 when i run update composer in my project directory its showing \"the requested PHP extension dom is missing from your system\" i checke

6条回答
  •  伪装坚强ぢ
    2020-12-07 23:10

    DOM is a PHP extension and not a PHP package. This means that your version of PHP needs to be recompiled with the extension. It is possible however that your PHP was already compiled with DOM but that DOM is not enabled. You can check this in your php.ini (search for extension=dom.so and make sure it's uncommented).

提交回复
热议问题