5
And it was placed in the XOOPS_ROOT aside mainfile.php?
If that is the case, then there is something very wrong with your server.
When the server suggest to download a php file it is mosttimes in case of misconfiguration (but then other PHP files should have the same) or overload (unable to cope with HTML requests).
Contact your hoster about this.