Managed to solve this.
The problem was I was putting the code for the .ini file into texteditor on a mac then saving as a .rtf file, uploading to my hosting then renaming to a .ini file.
My mistake was saving as a .rtf file, you need to save as an ascii file.
In text edit go format/make text plain then save as Unicode 8, then transfer to your hosting and rename.
Initially it wouldnt work but that is because my hosting is using php5 so I renamed the file as php5.ini and hey presto.