PHP 7 DomDocument not found

前端 未结 2 555
甜味超标
甜味超标 2020-12-24 01:26

I try run command: app/console cache:clear

This return me error:

An error occurred when executing the \"\'cache:clear --no-warmup

相关标签:
2条回答
  • 2020-12-24 02:15

    just a minor addition to the answer. i'm using nginx with php version 7 and php-fpm. you must restart the php-fpm service in order for the updates to work, restarting nginx alone won't help

    0 讨论(0)
  • 2020-12-24 02:28

    I had the same issue on Ubuntu and fixed it doing the following

    apt-get install php-xml
    

    or

    sudo apt-get install php-xml
    

    if not as root

    0 讨论(0)
提交回复
热议问题