#to setup PHP and mysql please follow steps below :
-
prepare your database
- go to training.sql directory
- create database structure
mysql -u root -p < ./training.sql
- you can recheck
show create table kontak\G
-
prepare your PHP folder
- this PHP script by default is using /var/www/training
- you need to change classes/gembok.php
- please change YOURUSERNAME and YOURPASSWORD with your own