Doing shits without xampp or lampp For Php use goole For Apache 2 use google. For Mysql Use Google. For PhpMyAdmin use google.
Once this are done! You may need to do this codes below
sudo a2enmod rewrite
cd /etc/apache2/sites-availabe
sudo vim 000-default.conf
Inside 000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /media/Workspace
<Directory /media/Workspace>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
/etc/init.d/apache2 start
or
sudo systemctl restart apache2
sudo apt-get update
sudo apt-get install phpmyadmin php-mbstring php-gettext
If I cannot access phpMyAdmin?
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf-enabled/phpmyadmin.conf
else refer this link https://www.digitalocean.com/community/questions/i-cannot-access-phpmyadmin-on-ubuntu-14-04
mysqladmin -u root -p'OLDPASSWORD' password NEWPASSWORD
or
mysql> use mysql;
mysql> update user set authentication_string=password('NEWPASSWORD') where user='root';
mysql> flush privileges;
mysql> quit