403Webshell
Server IP : 198.71.59.75  /  Your IP : 216.73.216.240
Web Server : nginx/1.30.2
System : Linux elegant-dhawan.198-71-59-75.plesk.page 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64
User : realtyna_guys ( 10000)
PHP Version : 8.2.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /opt/plesk/phpenv/libexec/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/plesk/phpenv/libexec/phpenv-exec
#!/usr/bin/env bash
#
# Summary: Run an executable with the selected PHP version
#
# Usage: phpenv exec <command> [arg1 arg2...]
#
# Runs an executable by first preparing PATH so that the selected PHP
# version's `bin' directory is at the front.
#
# For example, if the currently selected PHP version is 1.9.3-p327:
#   phpenv exec bundle install
#
# is equivalent to:
#   PATH="$PHPENV_ROOT/versions/1.9.3-p327/bin:$PATH" bundle install

set -e
[ -n "$PHPENV_DEBUG" ] && set -x

# Provide phpenv completions
if [ "$1" = "--complete" ]; then
  exec phpenv shims --short
fi

export PHPENV_VERSION="$(phpenv-version-name)"
PHPENV_COMMAND="$1"

if [ -z "$PHPENV_COMMAND" ]; then
  phpenv-help --usage exec >&2
  exit 1
fi

PHPENV_COMMAND_PATH="$(phpenv-which "$PHPENV_COMMAND")"
PHPENV_BIN_PATH="${PHPENV_COMMAND_PATH%/*}"

for script in $(phpenv-hooks exec); do
  source "$script"
done

shift 1
if [ "$PHPENV_VERSION" != "system" ]; then
  export PATH="${PHPENV_BIN_PATH}:${PATH}"
fi
exec -a "$PHPENV_COMMAND" "$PHPENV_COMMAND_PATH" "$@"

Youez - 2016 - github.com/yon3zu
LinuXploit