diff --git a/INSTALL.md b/INSTALL.md index 9aad6779..9c4fd0f2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -27,3 +27,4 @@ If `localhost:8000` returns the lbry.io website, it's running correctly. - Both the `dev.sh` and `docker.sh` scripts will initialise a configuration based on `data/config.php.example` if `data/config.php` does not exist. - Some pages and interactions rely on API keys that will not be available to you in your install. - To run remotely, simply install PHP and configure Apache or your server of choice to serve `web/index.php`. +- If the dev.sh fail to start with missing php extension please install php-xml, php-curl, php-mbstring according to your OS instruction \ No newline at end of file diff --git a/dev.sh b/dev.sh index 6c842bd9..5c5e9c51 100755 --- a/dev.sh +++ b/dev.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + PHPBIN=php7.2 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"