WARNING: Module ini file doesn't exist under /etc/php/7.0/mods-available

前端 未结 3 808
难免孤独
难免孤独 2021-02-07 01:56

I have uninstalled php7 and all its modules from ubuntu, and when I try to reinstall the modules, I get the following error for each php module, and although the module is insta

3条回答
  •  感情败类
    2021-02-07 02:40

    For me, doing this single command solved the problem:

    sudo apt install php7.0-mbstring
    

    I noticed that sometimes (I don't know when and why) the module is called without the php version (e.g. sudo phpenmod mbstring) but php search it by the php's version in use (in my case is the 7.0.33).

    I'm using Ubuntu 18.04, just installed 1 our ago.

提交回复
热议问题