Line 1: |
Line 1: |
− | Starting SME10 php module is not used anymore for httpd. Instead we rely on php-fpm for every available version of php available. By default we provide the following versions : 54 (base one maintained by Red-Hat), 55, 56, 70, 71, 72, 73, 74, 80. | + | Starting SME10 php module is not used anymore for httpd. Instead we rely on php-fpm for every available version of php. |
| | | |
− | === Available properties === | + | By default we provide the following versions: |
| + | |
| + | * 54 (maintained by Red-Hat up to CentOS 7 EOL: 30 Jun 2024), |
| + | * 55,56,70,71,72 (unsupported), |
| + | * 73 (supported up to 6 Dec 2021), |
| + | * 74 (supported up to 28 Nov 2022), |
| + | * 80 (supported up to 26 Nov 2023). |
| + | |
| + | ===Available db keys to handle php configuration and services=== |
| First you need to decide if you want to alter the php behaviour for an ibay or for a specific php version, of for all php versions. | | First you need to decide if you want to alter the php behaviour for an ibay or for a specific php version, of for all php versions. |
| {| class="wikitable" | | {| class="wikitable" |
Line 38: |
Line 46: |
| |customization of /etc/opt/remi/php80/php.ini | | |customization of /etc/opt/remi/php80/php.ini |
| |} | | |} |
− | Every version of php has its own php-fpm service running, the related configuration db entry is php-fpm for php (ie php54), php55-php-fpm for php55 and so on. If you reallly want to disable one version of php, you need to do for php55 | + | Every version of php has its own php-fpm service running, the related configuration db entry is php-fpm for php (ie php54), php55-php-fpm for php55 and so on. If you really want to disable one version of php, here what you need to do for php55 as an example: |
| config setprop php55-php-fpm status disabled | | config setprop php55-php-fpm status disabled |
| signal-event webapps-update | | signal-event webapps-update |
| | | |
− | <br />
| + | === Available properties === |
| + | Here is a list of available properties to configure php. You have to choose at which level you want to handle the change. |
| + | |
| + | * Do you want the change for the whole server, then probably choose to change it for key php): db configuration setprop php ... |
| + | * Do you want the change for a specific version of php, then you should probably do it against a specific php key e.g. : db configuration setprop php74 ... |
| + | * Do you want to apply the change for a specific ibay, this is what we suggest you to do in most cases: db accounts setprop myibay .. |
| + | |
| {| class="wikitable" | | {| class="wikitable" |
| |+ | | |+ |