The location of the php.ini file depends on how you installed XAMPP.
To use the file_get_contents function to retrieve the contents of an external URL in PHP, you will first need to ensure that the allow_url_fopen directive is enabled in your php.ini file.
This error message usually indicates that a PHP module is being included more than once in a PHP script.