I have an openshift app with diy cartridge where I have a bunch of php
and html
files in the $OPENSHIFT_REPO_DIR/diy
folder. The html
files in this folder are displayed properly on the browser. However, the php
ones are just downloaded to the browser instead of being executed.
Are php
files not allowed to be run in a diy
cartridge or am I doing something wrong? The .openshift
folder is empty, except for a cron
folder (I've added a cron cartridge to my app too).
I've also looked at this question, but the .htaccess
workaround doesn't work in my case.