$ sudo apt-get install lamp-server^
$ sudo mysql -u root
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new-password'; FLUSH PRIVILEGES; exit;
$ sudo vi /var/www/html/info.php
<?php phpinfo(); ?>
index.phpとphp.infoが正常に表示されるか?
$ sudo service mysql restart
$ sudo apt-get install phpmyadmin
コメント