.htaccess - Openshift DIY cartridge site is downloading php files instead of running them -


i have openshift app diy cartridge have bunch of php , html files in $openshift_repo_dir/diy folder. html files in folder displayed on browser. however, php ones downloaded browser instead of being executed.

are php files not allowed run in diy cartridge or doing wrong? .openshift folder empty, except cron folder (i've added cron cartridge app too).

i've looked @ this question, .htaccess workaround doesn't work in case.

it seems like have php interpreter on diy cartridge. can inspire example here, on how install apache php on diy cartridge. here can find avenue using nginx.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -