Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ opt/ app-version-detector/

//opt/app-version-detector/app-version-detector-wrapper.sh

#!/bin/bash

PHP_HANDLER="/opt/alt/php-internal/usr/bin/php"

JSON_EXTENSION=`  ${PHP_HANDLER} -n -m | grep "json"    2>&1 1>/dev/null || echo "-d extension=json.so"`
SQLITE_EXTENSION=`${PHP_HANDLER} -n -m | grep "sqlite3" 2>&1 1>/dev/null || echo "-d extension=sqlite3.so"`

"${PHP_HANDLER}" -n -d extension=phar.so -d extension=intl.so ${JSON_EXTENSION} ${SQLITE_EXTENSION} /opt/app-version-detector/app-version-detector.phar "$@"

#