.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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -