If the other app is php and no file names collide or interfere it seems reasonable. If you run another .NET app in a virtual sub directory there can be conflicts between Web.config settings in the parent vs the child but these can usually be mitigated by wrapping things in <location> elements to reduce the scope of a conflicting setting in the parent.
Hope it helps,
Joe