fopen()
is not used like that. Try file_get_contents():
$content = file_get_contents('https://blah.com/config.ini');
$ini = parse_ini_string($content, true);
This may work instead (not tested):
$ini = parse_ini_file('https://blah.com/config.ini', true);
In either case allow_url_fopen
needs to be enabled in php.ini
.