Fixed- Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: iconv, json, mysqli, xml

ve Techno
2 min readApr 13, 2021

--

Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: iconv, json, mysqli, xml

Composer detected issues in your platform

In this error message itself showing that these php extension should be need to install that is iconv, json, mysqli, xml . So in this blog we have installed php 7.4 and trying to install phpmyadmin as you can see on the screenshot.

  1. To fix this error message follow the below steps.
sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl php7.4-json -y

2. Restart the apache2 service

sudo service apache2 restart

3. Now check your phpmyadmin

4. If you get blank page then follow the below command

sudo apt-get install libapache2-mod-php7.4

Note:- If it is not resolved your issue, then try to completely remove php from Ubuntu Operating System.

5. First, you have to remove Apache and all of its dependencies with:

sudo apt remove apache2sudo apt-get remove –purge php*sudo apt-get purge php*sudo apt-get autoremovesudo apt-get autocleansudo apt-get remove dbconfig-phpsudo apt-get autoremove --purgesudo rm -rf /etc/php

How to uninstall PHP from ubuntu :- link

My Website :- www.vetechno.in

--

--

ve Techno