3
I don't believe that it has to do with your PHP version.
It seems like on your "real" server, the file with the definition of "_MY_HRMODULE" is missing, or is not included.
Find out where are the definitions for the missing language constants on your test server, and make sure they are also on your "real server"