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

前端 未结 3 810
难免孤独
难免孤独 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-07 02:43

    The problem was because of deleting php with sudo apt-get remove [package] and with this form, configuration files won't clean from computer and the next time you try to install the package, Ubuntu won't let the package configuration files to overwrite. the solution is to delete the package completely with purge and the autoremove the package so that It will completely remove from the computer with its configuration files and the next time you try to install, the configuration files with be created.

提交回复
热议问题