sudo apt-get updatesudo apt-get upgradeapache2php5php5-mysqli/etc/php5/apache2/php.inidisplay_errors = onextension_dir = "/usr/lib/php5/20131226/" (if that's not accurate, just look around in that vicinity)sudo /etc/init.d/apache2 restartmysql -u rootupdate user set password=PASSWORD('this-is-password-here') where User='root';flush privileges;create user 'newUser'@'localhost' identified by 'password';
grant all on *.* to newUser@'%'; - grants permission to use all databasesbind-address = 127.0.0.1
sudo nano -B my.cnf is nice for auto backing upsudo /etc/init.d/mysql restart<?php
phpinfo();
?>this document last modified: October 06 2017 21:42