Line 25: |
Line 25: |
| |php55 | | |php55 |
| |customization of /opt/remi/php55/root/etc/php.ini | | |customization of /opt/remi/php55/root/etc/php.ini |
− | | rowspan="8" |if no properties defined, will use php keys properties | + | | rowspan="11" |if no properties defined, will use php keys properties |
| |- | | |- |
| |php56 | | |php56 |
Line 47: |
Line 47: |
| |php80 | | |php80 |
| |customization of /etc/opt/remi/php80/php.ini | | |customization of /etc/opt/remi/php80/php.ini |
| + | |- |
| + | |php81 |
| + | |customization of /etc/opt/remi/php81/php.ini |
| + | |- |
| + | |php82 |
| + | |customization of /etc/opt/remi/php82/php.ini |
| + | |- |
| + | |php83 |
| + | |customization of /etc/opt/remi/php83/php.ini |
| |} | | |} |
| Every version of php has its own php-fpm service running, the related configuration db entry is (as shown in the Table above) php-fpm for php (ie php54), php55-php-fpm for php55 and so on. | | Every version of php has its own php-fpm service running, the related configuration db entry is (as shown in the Table above) php-fpm for php (ie php54), php55-php-fpm for php55 and so on. |
Line 239: |
Line 248: |
| After that issue the following commands: | | After that issue the following commands: |
| | | |
− | signal-event webapps-updates | + | signal-event webapps-update |
| | | |
| | | |
Line 291: |
Line 300: |
| From SME Server V8 up to and including SME Server V9, you could sometimes have an error thrown by PHP and would then need to specify a temporary directory (e.g. upload_tmp_dir) which is not set in php.ini. see [[bugzilla:6650]] and [[bugzilla:7652]]. Many php applications need this setting, the best-known culprits are Wordpress, Roundcube, eGroupWare, and there are others. The symptoms observed are that you can't upload contents to the PHP application. | | From SME Server V8 up to and including SME Server V9, you could sometimes have an error thrown by PHP and would then need to specify a temporary directory (e.g. upload_tmp_dir) which is not set in php.ini. see [[bugzilla:6650]] and [[bugzilla:7652]]. Many php applications need this setting, the best-known culprits are Wordpress, Roundcube, eGroupWare, and there are others. The symptoms observed are that you can't upload contents to the PHP application. |
| | | |
− | An easy resolution is to make a Custom Template to resolve this issue. See [[Uploadtmpdir]] | + | An easy resolution is to make a Custom Template to resolve this issue. See [[Uploadtmpdir]]. |
| | | |
| === Advanced use of the php-fpm pools === | | === Advanced use of the php-fpm pools === |
Line 461: |
Line 470: |
| </syntaxhighlight>This will prevent the generation of the default ibay pool in ibays.conf , and let you use /var/run/php-fpm/php$version-$name.sock socket from your template-custom... or from the db php using the same key as the name of the ibay. | | </syntaxhighlight>This will prevent the generation of the default ibay pool in ibays.conf , and let you use /var/run/php-fpm/php$version-$name.sock socket from your template-custom... or from the db php using the same key as the name of the ibay. |
| | | |
− | ===Installation of composer=== | + | ===Installation of Composer=== |
| | | |
| This is made tricky as we do not have the PHP CLI configured. | | This is made tricky as we do not have the PHP CLI configured. |
| | | |
− | But we can install it as follows with command line arguments. This is using php74 | + | But we can install it as follows with command line arguments. This is using php74. |
| | | |
| Download: | | Download: |
| php74 -d allow_url_fopen=on -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | | php74 -d allow_url_fopen=on -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" |
| + | |
| + | Hash check: |
| + | php74 -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" |
| | | |
| Install: | | Install: |
− | php74 -d allow_url_fopen=on ./composer-setup.php | + | php74 -d allow_url_fopen=on ./composer-setup.php |
| | | |
| === Bugs === | | === Bugs === |
Line 481: |
Line 493: |
| | | |
| [[Category: Howto]] | | [[Category: Howto]] |
| + | [[Category: Webapps]] |