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/ 8.2. Create Virtual Host Create a virtual host configuration file replacing with your own. sudo nano /etc/apache2/sites-available/ Enter the following replacing with your own. <VirtualHost *:80> ServerAdmin ServerName ServerAlias DocumentRoot /var/www/ … Read more