added link to keyhelp-php81

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-02-21 20:47:15 +01:00
parent c4fca8bf60
commit ff5160d9bd
1 changed files with 11 additions and 5 deletions

View File

@ -88,7 +88,8 @@ As root (or via sudo):
We need this to check out the bindAPi from git later.
So as we are still root, we need to install composer, two reasonable locations are under /bindAPI/bin or /usr/local/bin.
So as we are still root, we need to install composer, two reasonable locations are under ~/bindAPI/bin or /usr/local/bin.
(~ stands for the home folder)
Here I will install it under /usr/local/bin, in the example with the standalone server I'll install it under /bindAPI/bin.
`wget https://getcomposer.org/installer`
@ -99,12 +100,12 @@ Now we can change into our new user, remind to give him shell access in the pane
![Php Interpreter](https://bindapi.24unix.net/assets/bindAPI_shell.png)
` su - tfunix`
`su - tfunix`
In my example I assume the user is called tfunix, his home points to /home/users/tfunix.
Base directory for the bindAPI is ~/www/ns1.24unix.net/bindApi (~ => home folder).
Base directory for the bindAPI is ~/www/ns1.24unix.net/bindApi.
So, we head over to our directory:
@ -176,7 +177,11 @@ apt update
```
We need at least php-fpm, php-cli, and besides that php-curl, php-xml and php-mbstring:
`apt install ph8.1-fpm, php8.1-cli, and besides that php8.1-curl, php8.1-xml and php8.1-mbstring`
`apt install ph8.1-fpm, php8.1-cli php8.1-curl php8.1-xml php8.1-mbstring`
So, to be compatible with KeyHelp, we create a symlink:
`ln -s /usr/bin/php /usr/bin/keyhelp-php81`
We also need MariaDB, the successor of MySQL.
(Maria is the second daughter of Michael Widenius, guess what, his first is named My.
@ -261,7 +266,8 @@ cat config.json
"dbPort": 3306,
"dbDatabase": "sampledb",
"dbUser": "sampleuser",
"dbPassword": "secret"
"dbPassword": "secret",
"debug": false
}
```
We'll start the installer another time: