Archive for February, 2010
Quickly noted: Phusion Passenger & PHP files
by Kyle Skrinak on Feb.04, 2010, under Technology
There’s so much more to this, but the details of such are outside of my normal scope; so I’m simply noting this:
If you have a apache 2.2.14-served directory from which you intend to have PHP script interpreted within your *.html files, you must except this directory from your Phusion Passenger environment.
The head-scratcher for us was this: http://www.website.com would show the HTML with the unintrepreted PHP code, BUT http://www.website.com/index.html would properly interpret.
This was a real head-scratcher for the CTO for one my clients and myself when we discovered that subdirectories of our main “web-brochure” site were under Phusion’s control. We simply moved that directory to a new location, outside the environment’s paths, and this solved the problem. It appears that you can use apache directives to achieve the same result, though I couldn’t.

