My php -v is
php -v PHP 7.0.8-0ubuntu0.16.04.2 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.8-0ubuntu0.16.04.2, Copyright (c) 1999-2016, by Zend Technologies
i try to install php apache to my ubuntu and it asks me to enter root password. But i cant find the password. I follow this guide
Step 3 – Install MySQL i do those
sudo apt install mysql-server php-mysql Reading package lists... Done Building dependency tree Reading state information... Done php-mysql is already the newest version (1:7.0+35ubuntu6). mysql-server is already the newest version (5.7.13-0ubuntu0.16.04.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-28 linux-headers-4.4.0-28-generic linux-image-4.4.0-28-generic linux-image-extra-4.4.0-28-generic linux-signed-image-4.4.0-28-generic linux-signed-image-4.4.0-31-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded
and then this
sudo mysql_secure_installation Securing the MySQL server deployment. Enter password for user root: Error: Access denied for user 'root'@'localhost' (using password: YES)
Probably i had php or mysql before.
I cant reach that file. I used ubuntu root passsword root is not that root.
also doesnot show password.