1. Copy the mq4 and ex4 files to <Metatrader install folder>\experts\indicators folder
2. Copy mqh file into <Metatrader install folder>\experts\include folder
3. Create database and db table, and assign user rights to them
4. Copy php files to your webserver
5. Configure db credentials in both php files
6. Configure webserver, phpfilename, and delay parameters in indicator
7. Attach indicator to any chart (nothing new will appear on the screen of the chart) and enable dll import.
8. Check results in database