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
Code:
apt-get update
Code:
sudo apt install apache2
Code:
sudo apt install curl
Code:
sudo apt install mysql-server
Code:
sudo mysql_secure_installation
no then add new pass then all Yes
Code:
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
Code:
sudo apt install python-software-properties
Code:
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
Code:
sudo apt install phpmyadmin php-mbstring
Code:
sudo phpenmod mbstring
Code:
sudo a2enmod rewrite
Last edited: