Current File : //bin/php-config80
#!/usr/bin/sh

SED="/usr/bin/sed"
prefix="/usr"
datarootdir="/usr/php"
exec_prefix="/usr"
version="8.0.30"
vernum="80030"
include_dir=/usr/include/php80
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   -largon2 -lcrypt -laspell -lpspell -lrt -lstdc++ -lgmp -lbz2 -lrt -lm  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl11 -lcrypto11 -lz -lcurl -lssl11 -lcrypto11 -lssl11 -lcrypto11 -lxml2 -largon2 -lxml2 -lzip -lz -lssl11 -lcrypto11 -lcrypt "
extension_dir='/usr/lib64/php80/modules'
man_dir=`eval echo /usr/share/man`
program_prefix=""
program_suffix="80"
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' '--exec-prefix=/usr' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--infodir=/usr/share/info' '--prefix=/usr' '--datadir=/usr/share/php80' '--libdir=/usr/lib64/php80' '--with-_lib=/usr/lib64/php80' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-pear=/usr/share/php80/PEAR' '--with-libdir=lib64' '--includedir=/usr/include' '--sysconfdir=/usr/lib64/php80' '--with-config-file-path=/usr/lib64/php80' '--enable-shared' '--disable-debug' '--disable-rpath' '--with-pic' '--program-suffix=80' '--with-config-file-scan-dir=/etc/php80.d' '--enable-fastcgi' '--enable-safe-mode=no' '--enable-discard-path=no' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/include/freetype2/freetype' '--with-freetype' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-webp-dir=/usr' '--with-jpeg' '--with-webp' '--with-openssl' '--with-png' '--with-pspell' '--with-zlib' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-wddx' '--with-kerberos' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--enable-gd=shared' '--enable-zip' '--with-zip' '--enable-force-cgi-redirect' '--enable-pcntl' '--enable-mbstring=shared,all' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ncurses' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared' '--with-dom=shared' '--enable-dom=shared' '--with-dom-xslt' '--with-dom-exslt' '--with-pgsql=shared' '--with-snmp=shared' '--enable-soap=shared' '--with-xsl=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--enable-intl=shared' '--with-imap=shared' '--with-imap-ssl' '--with-xpm-dir=/usr/X11R6/lib' '--with-xpm' '--with-mhash' '--with-sqlite3=shared' '--with-tidy=shared' '--with-gdbm' '--with-mcrypt' '--enable-dbase' '--with-db' '--disable-gcc-global-regs' '--with-password-argon2' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'OPENSSL_CFLAGS=-I/usr/include/openssl11 ' 'OPENSSL_LIBS=-lssl11 -lcrypto11 '"
php_sapis=" cli phpdbg cgi"
ini_dir="/etc/php80.d"
ini_path="/usr/lib64/php80"

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