
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
#! /bin/sh

SED="/usr/bin/sed"
prefix="/opt/cpanel/ea-php84/root/usr"
datarootdir="/opt/cpanel/ea-php84/root/usr/share"
exec_prefix="/opt/cpanel/ea-php84/root/usr"
version="8.4.19"
vernum="80419"
include_dir="/opt/cpanel/ea-php84/root/usr/include/php"
lib_dir="/opt/cpanel/ea-php84/root/usr/lib64/php"
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
ldflags=" -L/opt/cpanel/ea-libxml2/lib64"
libs="  -lresolv -lncurses -lstdc++ -lutil -lm -ldl  -lxml2 -lssl -lcrypto -lz -ledit -largon2 -lrt -ldl"
extension_dir="/opt/cpanel/ea-php84/root/usr/lib64/php/modules"
man_dir=`eval echo /opt/cpanel/ea-php84/root/usr/share/man`
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/opt/cpanel/ea-php84/root/usr' '--exec-prefix=/opt/cpanel/ea-php84/root/usr' '--bindir=/opt/cpanel/ea-php84/root/usr/bin' '--sbindir=/opt/cpanel/ea-php84/root/usr/sbin' '--sysconfdir=/opt/cpanel/ea-php84/root/etc' '--datadir=/opt/cpanel/ea-php84/root/usr/share' '--includedir=/opt/cpanel/ea-php84/root/usr/include' '--libdir=/opt/cpanel/ea-php84/root/usr/lib64' '--libexecdir=/opt/cpanel/ea-php84/root/usr/libexec' '--localstatedir=/opt/cpanel/ea-php84/root/var' '--sharedstatedir=/opt/cpanel/ea-php84/root/var/lib' '--mandir=/opt/cpanel/ea-php84/root/usr/share/man' '--infodir=/opt/cpanel/ea-php84/root/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/opt/cpanel/ea-php84/root/etc' '--with-config-file-scan-dir=/opt/cpanel/ea-php84/root/etc/php.d' '--disable-debug' '--with-password-argon2=/opt/cpanel/libargon2' '--with-pic' '--without-pear' '--with-bz2' '--with-freetype' '--with-xpm' '--without-gdbm' '--with-gettext' '--with-iconv' '--with-jpeg' '--with-openssl=/opt/cpanel/ea-openssl11/lib' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-sockets' '--with-kerberos' '--enable-shmop' '--with-sodium=shared' '--with-libxml' '--with-system-tzdata' '--with-mhash' '--libdir=/opt/cpanel/ea-php84/root/usr/lib64/php' '--enable-pcntl' '--enable-opcache' '--enable-phpdbg' '--enable-mbstring=shared' '--enable-litespeed' '--with-webp' '--with-avif' '--enable-gd=shared' '--with-gmp=shared' '--enable-calendar=shared' '--enable-bcmath=shared' '--with-bz2=shared' '--enable-ctype=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-tcadb=/usr' '--enable-exif=shared' '--enable-ftp=shared' '--with-gettext=shared' '--with-iconv=shared' '--enable-sockets=shared' '--enable-tokenizer=shared' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--enable-mysqlnd=shared' '--with-mysqli=shared,mysqlnd' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--enable-dom=shared' '--with-pgsql=shared' '--enable-simplexml=shared' '--enable-xml=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,mysqlnd' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-sqlite3=shared,/usr' '--enable-json=shared' '--with-zip=shared' '--without-readline' '--with-libedit' '--enable-phar=shared' '--with-tidy=shared,/opt/cpanel/libtidy' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-shmop=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--enable-intl=shared' '--with-enchant=shared,/usr' '--enable-fileinfo=shared' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'PKG_CONFIG_PATH=/opt/cpanel/ea-php84/root/usr/lib64/pkgconfig:/opt/cpanel/ea-php84/root/usr/share/pkgconfig:/usr/lib64/pkgconfig:/opt/cpanel/ea-libicu/lib/pkgconfig:/opt/cpanel/ea-oniguruma/lib64/pkgconfig:/opt/cpanel/libargon2/lib64/pkgconfig:/usr/lib64/pkgconfig:/opt/cpanel/libargon2/lib64/pkgconfig:/opt/cpanel/ea-libxml2/lib64/pkgconfig' 'LDFLAGS= -Wl,-rpath,/opt/cpanel/ea-libzip/lib64 -Wl,-rpath-link,/lib64 -Wl,-rpath,/lib64 -Wl,-rpath,/opt/cpanel/libargon2/lib64 -L/opt/cpanel/libargon2/lib64 -largon2 -Wl,--enable-new-dtags -Wl,-rpath,/opt/cpanel/ea-libxml2/lib -Wl,-rpath,/opt/cpanel/ea-libxml2/lib64' 'JPEG_CFLAGS=-I/usr/include' 'JPEG_LIBS=-L/usr/lib64 -ljpeg' 'SASL_CFLAGS=-I/usr/include' 'SASL_LIBS=-L/usr/lib64' 'ARGON2_CFLAGS=-I/opt/cpanel/libargon2/include' 'XSL_CFLAGS=-I/opt/cpanel/ea-libxml2/include/libxml2' 'XSL_LIBS=-L/opt/cpanel/ea-libxml2/lib64 -lxml2' 'LIBZIP_CFLAGS=-I/opt/cpanel/ea-libzip/include' 'LIBZIP_LIBS=-L/opt/cpanel/ea-libzip/lib64 -lzip' 'EXTENSION_DIR=/opt/cpanel/ea-php84/root/usr/lib64/php/modules'"
php_sapis=" cli litespeed phpdbg cgi"
ini_dir="/opt/cpanel/ea-php84/root/etc/php.d"
ini_path="/opt/cpanel/ea-php84/root/etc"
php_embed_type=""

# Set php_cli_binary and php_cgi_binary if available
for sapi in $php_sapis; do
  case $sapi in
  cli)
    php_cli_binary="/opt/cpanel/ea-php84/root/usr/bin/${program_prefix}php${program_suffix}${exe_extension}"
    ;;
  cgi)
    php_cgi_binary="/opt/cpanel/ea-php84/root/usr/bin/${program_prefix}php-cgi${program_suffix}${exe_extension}"
    ;;
  esac
done

# Determine which (if any) php binary is available
if test "$php_cli_binary" != "NONE"; then
  php_binary="$php_cli_binary"
else
  php_binary="$php_cgi_binary"
fi

# Set embed SAPI library path
if test "$php_embed_type" = "shared"; then
  php_embed_lib=libphp.so
elif test "$php_embed_type" = "static"; then
  php_embed_lib=libphp.a
fi

# Remove quotes
configure_options=`echo $configure_options | $SED -e "s#'##g"`

case "$1" in
--prefix)
  echo $prefix;;
--includes)
  echo $includes;;
--ldflags)
  echo $ldflags;;
--libs)
  echo $libs;;
--extension-dir)
  echo $extension_dir;;
--include-dir)
  echo $include_dir;;
--lib-dir)
  echo $lib_dir;;
--lib-embed)
  echo $php_embed_lib;;
--php-binary)
  echo $php_binary;;
--php-sapis)
  echo $php_sapis;;
--configure-options)
  echo $configure_options;;
--man-dir)
  echo $man_dir;;
--ini-path)
  echo $ini_path;;
--ini-dir)
  echo $ini_dir;;
--version)
  echo $version;;
--vernum)
  echo $vernum;;
*)
  cat << EOF
Usage: $0 [OPTION]
Options:
  --prefix            [$prefix]
  --includes          [$includes]
  --ldflags           [$ldflags]
  --libs              [$libs]
  --extension-dir     [$extension_dir]
  --include-dir       [$include_dir]
  --lib-dir           [$lib_dir]
  --lib-embed         [$php_embed_lib]
  --man-dir           [$man_dir]
  --php-binary        [$php_binary]
  --php-sapis         [$php_sapis]
  --ini-path          [$ini_path]
  --ini-dir           [$ini_dir]
  --configure-options [$configure_options]
  --version           [$version]
  --vernum            [$vernum]
EOF
  exit 1;;
esac

exit 0
