Spade
Mini Shell
| Directory:~$ /proc/self/root/opt/cloudlinux/alt-php81/root/usr/bin/ |
| [Home] [System Details] [Kill Me] |
#! /bin/sh
SED="/usr/bin/sed"
prefix="/opt/alt/php81"
datarootdir="/opt/alt/php81/share"
exec_prefix="/opt/alt/php81"
version="8.1.33"
vernum="80133"
include_dir="/opt/alt/php81/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/alt/libxml2/usr/lib64 -L/opt/alt/openssl11/lib64
-L/opt/alt/sqlite/usr/lib64 -L/opt/alt/curlssl11/usr/lib64"
libs="-lcrypt -lresolv -lcrypt -lreadline -lncurses -lrt -lstdc++
-lbz2 -lutil -lrt -lm -ldl -lsystemd -lxml2 -lssl -lcrypto -lsqlite3 -lz
-lcurl -lssl -lcrypto -lxml2 -largon2 -lrt -ldl -lxml2 -lcrypt "
extension_dir='/opt/alt/php81/usr/lib64/php/modules'
man_dir=`eval echo /opt/alt/php81/usr/share/man`
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--disable-dependency-tracking'
'--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib64'
'--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--build=x86_64-redhat-linux-gnu'
'--host=x86_64-redhat-linux-gnu'
'--target=x86_64-redhat-linux-gnu' '--program-prefix='
'--prefix=/opt/alt/php81'
'--exec-prefix=/opt/alt/php81'
'--bindir=/opt/alt/php81/usr/bin'
'--sbindir=/opt/alt/php81/usr/sbin'
'--sysconfdir=/opt/alt/php81/etc'
'--datadir=/opt/alt/php81/usr/share'
'--includedir=/opt/alt/php81/usr/include'
'--libdir=/opt/alt/php81/usr/lib64'
'--libexecdir=/opt/alt/php81/usr/libexec'
'--localstatedir=/var' '--sharedstatedir=/usr/com'
'--mandir=/opt/alt/php81/usr/share/man'
'--infodir=/opt/alt/php81/usr/share/info'
'--cache-file=../config.cache' '--with-libdir=lib64'
'--with-config-file-path=/opt/alt/php81/etc'
'--with-config-file-scan-dir=/opt/alt/php81/link/conf'
'--disable-debug' '--enable-calendar'
'--enable-exif' '--enable-ftp'
'--enable-huge-code-pages' '--enable-jit'
'--enable-shmop' '--enable-xml' '--with-bz2'
'--with-freetype=/usr' '--with-gettext'
'--with-gmp=shared' '--with-iconv'
'--with-jpeg=/usr' '--with-layout=GNU'
'--with-mhash' '--with-password-argon2=/usr'
'--with-pcre-jit' '--with-pic'
'--with-readline' '--with-webp=/opt/alt/libwebp'
'--with-xpm=/usr' '--with-zlib'
'--with-zlib-dir=/usr' '--without-gdbm'
'--without-pear' '--with-curl=/opt/alt/curlssl11/usr'
'--with-openssl-dir=/opt/alt/openssl11'
'--with-openssl=/opt/alt/openssl11'
'--with-pcre-dir=/opt/alt/pcre2' '--with-avif'
'--with-kerberos=/opt/alt/krb5/usr' '--with-apxs2'
'--enable-litespeed' '--enable-fpm'
'--with-fpm-systemd' '--enable-bcmath=shared'
'--enable-dba=shared' '--with-db4=/usr'
'--enable-dom=shared' '--enable-fileinfo=shared'
'--enable-gd=shared' '--enable-intl=shared'
'--enable-json=shared' '--enable-mbregex'
'--enable-mbstring=shared' '--enable-mysqlnd=shared'
'--enable-opcache' '--enable-pcntl'
'--enable-pdo=shared' '--enable-phar=shared'
'--enable-posix=shared' '--enable-soap=shared'
'--enable-sockets=shared' '--enable-sysvsem=shared'
'--enable-sysvshm=shared' '--enable-sysvmsg=shared'
'--enable-xmlreader=shared' '--enable-xmlwriter=shared'
'--with-enchant=shared,/usr' '--with-external-gd'
'--with-gnu-ld=yes'
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-mysqli=shared,mysqlnd'
'--with-pdo-mysql=shared,mysqlnd'
'--with-pdo-odbc=shared,unixODBC,/usr'
'--with-pdo-sqlite=shared,/opt/alt/sqlite/usr'
'--with-pspell=shared'
'--with-sqlite3=/opt/alt/sqlite/usr'
'--with-tidy=shared,/usr' '--with-unixODBC=shared,/usr'
'--with-zip=shared'
'--with-pdo-pgsql=shared,/opt/alt/postgresql11/usr'
'--with-pgsql=shared,/opt/alt/postgresql11/usr'
'--with-imap=shared,/opt/alt/libc-client11'
'--with-imap-ssl=/opt/alt/openssl11'
'--with-pdo-dblib=shared,/opt/alt/freetds11/usr'
'--with-ldap=shared,/opt/alt/openldap11'
'--with-ldap-sasl'
'--with-snmp=shared,/opt/alt/net-snmp11/usr'
'--with-pdo-oci=shared,instantclient,/usr/lib/oracle/21/client64/lib'
'--with-sodium=shared,/usr' '--with-ffi=shared,/usr'
'--with-pdo-firebird=shared' '--with-xsl=shared,/usr'
'build_alias=x86_64-redhat-linux-gnu'
'host_alias=x86_64-redhat-linux-gnu'
'target_alias=x86_64-redhat-linux-gnu'
'PKG_CONFIG=/usr/bin/pkg-config'
'PKG_CONFIG_PATH=/opt/alt/curlssl11/usr/lib64/pkgconfig:/opt/alt/sqlite/usr/lib64/pkgconfig:/opt/alt/openssl11/lib64/pkgconfig:/opt/alt/libicu/usr/lib64/pkgconfig:/opt/alt/pcre2/usr/lib64/pkgconfig:/opt/alt/libzip/usr/lib64/pkgconfig:/opt/alt/libxml2/usr/lib64/pkgconfig:/opt/alt/libgd/lib64/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig'
'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -Dmp_bitcnt_t=long -fno-strict-aliasing
-Wno-pointer-sign -I/opt/alt/t1lib/usr/include
-I/opt/alt/libc-client11/include -I/opt/alt/libssh211/usr/include'
'LDFLAGS=
-Wl,-rpath=/opt/alt/libxml2/usr/lib64,-rpath=/opt/alt/libwebp/lib64
-L/opt/alt/openssl11/lib64 -L/opt/alt/libicu/usr/lib64
-L/opt/alt/openldap11/lib64 -L/opt/alt/net-snmp11/usr/lib64
-Wl,-rpath=/opt/alt/openssl11/lib64,-rpath=/opt/alt/libicu/usr/lib64,-rpath=/opt/alt/pcre2/usr/lib64,-rpath=/opt/alt/openldap11/lib64,-rpath=/opt/alt/net-snmp11/usr/lib64
-L/opt/alt/nghttp2/lib64 -L/opt/alt/postgresql11/usr/lib64
-Wl,-rpath=/opt/alt/nghttp2/lib64,-rpath=/opt/alt/postgresql11/usr/lib64
-L/opt/alt/t1lib/usr/lib64 -Wl,-rpath=/opt/alt/t1lib/usr/lib64
-L/opt/alt/libc-client11/lib64 -Wl,-rpath=-L/opt/alt/libc-client11/lib64
-L/opt/alt/libssh211/usr/lib64 -Wl,-rpath=/opt/alt/libssh211/usr/lib64
-L/opt/alt/freetds11/usr/lib64 -Wl,-rpath=/opt/alt/freetds11/usr/lib64
-Wl,-rpath=/opt/alt/curlssl11/usr/lib64
-Wl,-rpath=/opt/alt/sqlite/usr/lib64' 'CXXFLAGS=-O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
'KERBEROS_CFLAGS=-I/usr/include'
'KERBEROS_LIBS=-L/usr/lib64'
'WEBP_LIBS=-L/opt/alt/libwebp/lib64
-Wl,-rpath=/opt/alt/libwebp/lib64'
'SASL_CFLAGS=-I/usr/include'
'SASL_LIBS=-L/usr/lib64'"
php_sapis="apache2handler litespeed fpm phpdbg apache2handler cli fpm
litespeed phpdbg cgi"
ini_dir="/opt/alt/php81/link/conf"
ini_path="/opt/alt/php81/etc"
# Set php_cli_binary and php_cgi_binary if available
for sapi in $php_sapis; do
case $sapi in
cli)
php_cli_binary="/opt/alt/php81/usr/bin/${program_prefix}php${program_suffix}${exe_extension}"
;;
cgi)
php_cgi_binary="/opt/alt/php81/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;;
--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]
--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