|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/cpanel/ea-php52/root/usr/bin/ |
Upload File : |
#! /bin/sh
SED="/usr/bin/sed"
prefix="/opt/cpanel/ea-php52/root/usr"
exec_prefix="/opt/cpanel/ea-php52/root/usr"
version="5.2.17"
vernum="50217"
include_dir="/opt/cpanel/ea-php52/root/usr/include/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 -L/opt/cpanel/ea-openssl/lib64 -L/opt/alt/pcre802/usr/lib64"
libs="-lcrypt -lcrypt -lmhash -lgmp -lz -lpcre -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -llzma -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypt -lcrypt "
extension_dir='/opt/cpanel/ea-php52/root/usr/lib64/php/modules'
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-php52/root/usr' '--exec-prefix=/opt/cpanel/ea-php52/root/usr' '--bindir=/opt/cpanel/ea-php52/root/usr/bin' '--sbindir=/opt/cpanel/ea-php52/root/usr/sbin' '--sysconfdir=/opt/cpanel/ea-php52/root/etc' '--datadir=/opt/cpanel/ea-php52/root/usr/share' '--includedir=/opt/cpanel/ea-php52/root/usr/include' '--libdir=/opt/cpanel/ea-php52/root/usr/lib64' '--libexecdir=/opt/cpanel/ea-php52/root/usr/libexec' '--localstatedir=/opt/cpanel/ea-php52/root/usr/var' '--sharedstatedir=/opt/cpanel/ea-php52/root/usr/com' '--mandir=/opt/cpanel/ea-php52/root/usr/share/man' '--infodir=/opt/cpanel/ea-php52/root/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/opt/cpanel/ea-php52/root/etc' '--with-config-file-scan-dir=/opt/cpanel/ea-php52/root/etc/php.d' '--disable-debug' '--with-pic' '--enable-rpath=/opt/cpanel/ea-php52/root/usr/lib64' '--without-pear' '--with-bz2' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl=/opt/cpanel/ea-openssl' '--with-openssl-dir=/opt/cpanel/ea-openssl' '--with-pcre-regex=/opt/alt/pcre802/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-sockets' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/opt/cpanel/ea-libxml2' '--enable-xml' '--with-system-tzdata' '--with-mhash' '--enable-dtrace' '--enable-fastcgi' '--enable-fpm' '--with-fpm-systemd' '--libdir=/opt/cpanel/ea-php52/root/usr/lib64' '--without-mysql' '--disable-pdo' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-xmlreader' '--disable-xmlwriter' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-xml' '--disable-simplexml' '--disable-exif' '--without-gettext' '--without-iconv' '--disable-ftp' '--without-bz2' '--disable-ctype' '--disable-shmop' '--disable-sockets' '--disable-tokenizer' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'"
php_sapis="cli cgi"
# 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-php52/root/usr/bin/${program_prefix}php${program_suffix}${exe_extension}"
;;
cgi)
php_cgi_binary="/opt/cpanel/ea-php52/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
# 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;;
--php-binary)
echo $php_binary;;
--php-sapis)
echo $php_sapis;;
--configure-options)
echo $configure_options;;
--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]
--php-binary [$php_binary]
--php-sapis [$php_sapis]
--configure-options [$configure_options]
--version [$version]
--vernum [$vernum]
EOF
exit 1;;
esac
exit 0