HOME


sh-3ll 1.0
DIR:/opt/remi/php74/root/bin/
Upload File :
Current File : //opt/remi/php74/root/bin/php-config
#! /bin/sh

SED="/usr/bin/sed"
prefix="/opt/remi/php74/root/usr"
datarootdir="/opt/remi/php74/root/usr/share"
exec_prefix="/opt/remi/php74/root/usr"
version="7.4.33"
vernum="70433"
include_dir="/opt/remi/php74/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=""
libs="-lcrypt   -lresolv -lcrypt -lrt -lm -ldl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lpcre2-8 -lz -lcrypt -lcrypt "
extension_dir='/opt/remi/php74/root/usr/lib64/php/modules'
man_dir=`eval echo /opt/remi/php74/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/remi/php74/root/usr' '--exec-prefix=/opt/remi/php74/root/usr' '--bindir=/opt/remi/php74/root/usr/bin' '--sbindir=/opt/remi/php74/root/usr/sbin' '--sysconfdir=/etc/opt/remi/php74' '--datadir=/opt/remi/php74/root/usr/share' '--includedir=/opt/remi/php74/root/usr/include' '--libdir=/opt/remi/php74/root/usr/lib64' '--libexecdir=/opt/remi/php74/root/usr/libexec' '--localstatedir=/var/opt/remi/php74' '--sharedstatedir=/var/opt/remi/php74/lib' '--mandir=/opt/remi/php74/root/usr/share/man' '--infodir=/opt/remi/php74/root/usr/share/info' '--enable-rtld-now' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc/opt/remi/php74' '--with-config-file-scan-dir=/etc/opt/remi/php74/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-exec-dir=/opt/remi/php74/root/usr/bin' '--without-gdbm' '--with-openssl' '--with-system-ciphers' '--with-external-pcre' '--with-zlib' '--with-layout=GNU' '--with-kerberos' '--with-libxml' '--with-system-tzdata' '--with-mhash' '--without-password-argon2' '--enable-dtrace' '--enable-embed' '--without-mysqli' '--disable-pdo' '--disable-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-opcache' '--disable-phpdbg' '--disable-json' '--without-ffi' '--disable-xmlreader' '--disable-xmlwriter' '--without-sodium' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--without-pspell' '--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' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'PKG_CONFIG_PATH=:/opt/remi/php74/root/usr/lib64/pkgconfig:/opt/remi/php74/root/usr/share/pkgconfig' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'"
php_sapis="apache2handler litespeed fpm phpdbg  cli embed cgi"
ini_dir="/etc/opt/remi/php74/php.d"
ini_path="/etc/opt/remi/php74"

# Set php_cli_binary and php_cgi_binary if available
for sapi in $php_sapis; do
  case $sapi in
  cli)
    php_cli_binary="/opt/remi/php74/root/usr/bin/${program_prefix}php${program_suffix}${exe_extension}"
    ;;
  cgi)
    php_cgi_binary="/opt/remi/php74/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;;
--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