Changing echo to PHP Exception 

I have changed the way the class handle php.ini configuration failure to throw an exception. 
This way it will be easy for developers to catch the error and update their system if needed instead of showing a text in a live environment.