HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: //opt/plesk/phpenv/libexec/phpenv-configure
#!/usr/bin/env bash
# Summary: Edit the current PHP's php.ini configuration file at location

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

if [ "$VISUAL" ]; then
	cmd="$VISUAL"
fi

if ! [ "$cmd" ] && [ "$EDITOR" ]; then
	cmd="$EDITOR"
fi

if ! [ "$cmd" ] && type vim >/dev/null 2>&1; then
	cmd="vim"
fi

if ! [ "$cmd" ]; then
	cmd="vi"
fi

"$cmd" "$(php --ini|grep Loaded|awk '{print $NF}')"