Hi! I’m having a problem with this simplified code - json_encode function, to be precise.
$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5); echo json_encode($arr);
This script works on my local server without any problem, however when I upload it to my remote server, I get “500 Internal Server Error”. What could be the cause of this, any ideas? Maybe some server config?