Retrieves mime types by PHP methods to improve compatiblity to xampp environments