.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
Post a Comment