str_replace() is not working in aws server returning empty string but working on cpanel and locally str_replace() is not working in aws server returning empty string but working on cpanel and locally nginx nginx