Hello guys , when u installed Ubuntu20 now and try to install phpmyadmin u get some issues and u didnt get root user as super user
this command one by one so this
enjoy and thanks for all
this command one by one so this
enjoy and thanks for all
PHP:
apt-get update
PHP:
sudo apt install apache2
PHP:
sudo apt install curl
PHP:
sudo apt install mysql-server
PHP:
sudo mysql_secure_installation
no then add new pass then all Yes
PHP:
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
SELECT user,authentication_string,plugin,host FROM mysql.user;
exit
PHP:
sudo apt install python-software-properties
PHP:
sudo apt install php php-zip php-pear php-xml php-bcmath php-dev php-fpm php-cli php-readline php-curl php-gd php-gmp php-imap php-intl php-json php-mbstring php-mysql php-opcache php-common
sudo nano /etc/apache2/mods-enabled/dir.conf
#### DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
PHP:
sudo apt install phpmyadmin php-mbstring
PHP:
sudo phpenmod mbstring
PHP:
sudo a2enmod rewrite
Last edited: