Z
Z
Zimaell2019-08-07 15:51:11
ubuntu
Zimaell, 2019-08-07 15:51:11

How to remove all php and install 7.3 ubuntu?

I have already stumbled many times about installing php modules, because I don’t know at what stage I installed modules for 7.2 and immediately I see they are already installed for 7.3, as a result, the confusion arose not very pleasant, here again it tells me that I don’t have the mcrypt module, although mcrypt7.0 and mcrypt7.3 are installed, 7.2 does not want to be installed

sudo apt-get install php7.2-mcrypt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.2-mcrypt
E: Couldn't find any package by glob 'php7.2-mcrypt'
E: Couldn't find any package by regex 'php7.2-mcrypt'

sudo update-alternatives --set php /usr/bin/php7.2- did, sudo apt-get install mcrypt installs, but with the command sudo phpenmod mcrypt
WARNING: Module mcrypt ini file doesn't exist under /etc/php/7.3/mods-available

I don’t understand how any of them work, what modules are there and from what versions, in general, confusion ...
How can I remove all php and install one version with all modules?
Ps - Of course, there is an option for full formatting, but besides there are already a lot of things installed, I would not want to install all this again ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question