I have unmanaged VPS CentOS and DirectAdmin installed when I installed a php script use that php function , it don't work and tell me that reason is file_get_contents() is disabled by your host
Edit your php.ini. For CentOS, your php.ini can be found in /usr/local/lib/php.ini or /etc/php.ini or phpinfo(); if all else fails. Use your favourite editor (mine is nano), edit your php.ini and uncomment the necessary line. Be careful though!
Open up your php.ini and then do this Find allow_url_fopen and change this to On after this restart apache all done