core icon indicating copy to clipboard operation
core copied to clipboard

Force .htaccess to select php v5.5 instead of server default

Open Rezonansowy opened this issue 11 years ago • 6 comments

This version of php is required for OC 8. It is good to include the following line in .htaccess:

AddHandler php5.5-fastcgi php

Rezonansowy avatar Feb 13 '15 14:02 Rezonansowy

I believe this is something that should be handled on the server config, having this in our .htaccess looks out of scope.

LukasReschke avatar Feb 13 '15 14:02 LukasReschke

This change has sense. Otherwise you have do this anyway. Including this in .htaccess out of the box just simplify this process.

Rezonansowy avatar Feb 13 '15 14:02 Rezonansowy

Including this in .htaccess out of the box just simplify this process.

well it will for sure break other installations and therfore I second @LukasReschke on his decission

DeepDiver1975 avatar Feb 13 '15 14:02 DeepDiver1975

@DeepDiver1975 What installations you mean? It won't break anything if it's only inside the OC folder.

Rezonansowy avatar Feb 13 '15 14:02 Rezonansowy

What installations you mean?

installation which have no php5.5-fastcgi or installations which don't want to use 5.5 but 5.6

DeepDiver1975 avatar Feb 13 '15 15:02 DeepDiver1975

Is it possible to specify a minimum php version in htaccess?

Rezonansowy avatar Feb 13 '15 15:02 Rezonansowy