use below code and run on your server
$ini = ini_get_all();
print_r($ini);
many times, your localhost and live server ini settings are different, just run above code on both server and compare it,
using, ini_set() you can change your server ini settings
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.