1. Check the location of apache.conf file # locate apache2.conf 2. Open this ‘apache2.conf’ file with any editor and include phpmyadmn configuration…