EDIT: Didn't see the Deployment options under properties, my bad! (was a long day yesterday).

It now works although some PHP files needed updating as they did not work the same when live as they did during debug.

juanc says:

Are some files not getting copied?