Your IP : 3.145.128.23
Current Path : /opt/php56/bin/ |
|
Current File : //opt/php56/bin/php-config |
#! /bin/sh
SED="/usr/bin/sed"
prefix="/opt/php56"
datarootdir="/opt/php56/share"
exec_prefix="${prefix}"
version="5.6.40"
vernum="50640"
include_dir="${prefix}/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 -ledit -lncurses -lgmp -lcrypto -lssl -lcrypto -lbz2 -lz -lpcre -lcrypto -lssl -lcrypto -lrt -lm -ldl -lxml2 -lz -llzma -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lxml2 -lz -llzma -lm -ldl -lcrypt -lxml2 -lz -llzma -lm -ldl -lcrypt "
extension_dir='/opt/php56/lib/php/modules'
man_dir=`eval echo ${datarootdir}/man`
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--prefix=/opt/php56' '--cache-file=../config.cache' '--with-config-file-path=/opt/php56/etc' '--with-config-file-scan-dir=/opt/php56/etc/php.d' '--disable-debug' '--with-libdir=lib64' '--with-pic' '--disable-rpath' '--with-bz2' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-vpx-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-sockets' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/usr' '--enable-xml' '--with-mhash' '--with-system-tzdata' '--enable-pcntl' '--enable-mbregex' '--without-readline' '--with-libedit' '--with-db4=/usr' '--disable-dom' '--disable-json' '--disable-pdo' '--disable-mysqli' '--enable-timezonedb=shared' '--disable-xmlreader' '--disable-xmlwriter' '--enable-dba=shared' '--disable-phar' '--disable-posix' '--with-litespeed' '--disable-cli' '--disable-cgi' 'CFLAGS=-O2 '-g' '-pipe' '-Wall' '-Werror=format-security' '-Wp,-D_FORTIFY_SOURCE=2' '-Wp,-D_GLIBCXX_ASSERTIONS' '-fexceptions' '-fstack-protector-strong' '-grecord-gcc-switches' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' '-m64' '-mtune=generic' '-fasynchronous-unwind-tables' '-fstack-clash-protection' '-fcf-protection' '-fno-strict-aliasing' '-Wno-pointer-sign''"
php_sapis=" litespeed"
# Set php_cli_binary and php_cgi_binary if available
for sapi in $php_sapis; do
case $sapi in
cli)
php_cli_binary="${exec_prefix}/bin/${program_prefix}php${program_suffix}${exe_extension}"
;;
cgi)
php_cgi_binary="${exec_prefix}/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;;
--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]
--configure-options [$configure_options]
--version [$version]
--vernum [$vernum]
EOF
exit 1;;
esac
exit 0