Setting Apache, Mysql, PHP

Follow : Common Errors : Failed! Error: SET PASSWORD has no significance for user ‘root’@’localhost’ as the authentication method used doesn’t store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters. Solution : Login as root, sudo mysql, ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password … Read more

Nambah Virtual Host Apache

Create a new directory in /var/www/ for your domain. Just replace with your own. sudo mkdir -p /var/www/ Create an index.html file for testing. sudo nano /var/www/ Enter the following: /var/www/ <html> <head> <title>Welcome!</title> </head> <body> <h1>Welcome to!</h2> </body> </html> Save and exit (press CTRL + X, press Y and then press ENTER) … Read more