Can PHP files work alongside a Rails app?

Assuming I have the following setup installed on my server…

Apache (with PHP)

And Apache is set to handle static files (ie those put into /public)…

Would it work if I put .php files inside public? I.E: would render fine, but would still be
the Rails app?

Thanks -

the Rails app?
Yes, search this or the mongrel users list for details. We do exactly
this. You can (and should) also check for “ Community Directory” which
contains an index.php you want parsed.

If you can’t find it, search the mongrel list for my name… I know I’ve
posted a config awhile back.