You should have the same settings on the test machine as you have on the production server. Otherwise you can't be sure that something that works on the test machine will work in production as well. In fact you should use the same OS and versions of all the programs as well.
The only thing that may differ is that the test server may have less memory (and settings for less memory), slower CPU and less space on the hard drive.