diff --git a/README.md b/README.md index 563458e..7d6b44b 100644 --- a/README.md +++ b/README.md @@ -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: