Xml.load() with .php files

I have a project on my local dev box that runs fine when I load XML files from a .php extension (php creates the xml dynamically).

Yet when I upload this to the production server, it will not recognize the .php file and load it at all.

Has anyone had this problem? If so, how did you fix it?