Fixed- 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: 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.

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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store