diff options
Diffstat (limited to 'php-box.install')
-rw-r--r-- | php-box.install | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/php-box.install b/php-box.install index b37a3801718a..30be7f3f554e 100644 --- a/php-box.install +++ b/php-box.install @@ -1,14 +1,15 @@ post_install() { echo - echo "php-box is installed as executable 'php-box'." - if ! /usr/bin/php -i | grep Phar >/dev/null; then + echo "php-box is installed as executable 'box'." + if ! /usr/bin/php -i | grep 'Phar-based phar archives => enabled' >/dev/null; then echo echo "[WARNING] the Phar extension of php must be enabled." echo "[WARNING] check if the line extension=phar.so is commented out in your php.ini" fi - if ! /usr/bin/php -i | grep 'phar.readonly.*Off.*' >/dev/null; then + if ! /usr/bin/php -i | grep 'sodium support => enabled' >/dev/null; then echo - echo "[WARNING] the phar.readonly option of php must be set to 'Off'." + echo "[WARNING] the Sodium extension of php must be enabled." + echo "[WARNING] check if the line extension=sodium.so is commented out in your php.ini" fi } |