ok

Mini Shell

Direktori : /proc/thread-self/root/opt/cloudlinux/alt-php53/root/usr/bin/
Upload File :
Current File : //proc/thread-self/root/opt/cloudlinux/alt-php53/root/usr/bin/php-config

#! /bin/sh

SED="/usr/bin/sed"
prefix="/opt/alt/php53"
exec_prefix="/opt/alt/php53"
version="5.3.29"
vernum="50329"
include_dir="/opt/alt/php53/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/krb5/usr/lib64 -L/opt/alt/openssl11/lib64 -L/opt/alt/pcre/usr/lib64 -L/opt/alt/curlssl11/usr/lib64"
libs="-lcrypt   -lresolv -lreadline -lncurses -lgmp -lcrypto -lssl -lcrypto -lcurl -lbz2 -lz -lpcre -lcrypto -lssl -lcrypto -lcrypt -lrt -lm -ldl  -lcrypt -lxml2 -lz -llzma -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lcrypt "
extension_dir='/opt/alt/php53/usr/lib64/php/modules'
man_dir=`eval echo /opt/alt/php53/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/php53' '--exec-prefix=/opt/alt/php53' '--bindir=/opt/alt/php53/usr/bin' '--sbindir=/opt/alt/php53/usr/sbin' '--sysconfdir=/opt/alt/php53/etc' '--datadir=/opt/alt/php53/usr/share' '--includedir=/opt/alt/php53/usr/include' '--libdir=/opt/alt/php53/usr/lib64' '--libexecdir=/opt/alt/php53/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/opt/alt/php53/usr/share/man' '--infodir=/opt/alt/php53/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/opt/alt/php53/etc' '--with-config-file-scan-dir=/opt/alt/php53/link/conf' '--with-exec-dir=/usr/bin' '--with-layout=GNU' '--disable-debug' '--without-pear' '--without-gdbm' '--with-pic' '--with-bz2' '--with-zlib' '--with-gettext' '--with-gmp' '--with-iconv' '--with-mhash' '--with-readline' '--with-webp=/opt/alt/libwebp' '--with-kerberos=/opt/alt/krb5/usr' '--with-sqlite3' '--with-curl=/opt/alt/curlssl11/usr' '--with-pcre-regex=/opt/alt/pcre/usr' '--with-libxml-dir=/opt/alt/libxml2/usr' '--with-openssl=/opt/alt/openssl11' '--with-openssl-dir=/opt/alt/openssl11' '--enable-xml' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-shmop' '--enable-calendar' '--enable-force-cgi-redirect' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--enable-dbx=shared,/usr' '--enable-dom=shared' '--enable-fastcgi' '--enable-fileinfo=shared' '--enable-intl=shared' '--enable-json=shared' '--enable-mbstring=shared' '--enable-mbregex' '--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-ucd-snmp-hack' '--enable-wddx=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-zip=shared' '--with-enchant=shared,/usr' '--with-freetype-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-ldap=shared,/opt/alt/openldap11' '--with-ldap-sasl' '--with-mcrypt=shared,/usr' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-sqlite=shared,/usr' '--with-png-dir=/usr' '--with-recode=shared,/usr' '--with-sqlite=shared' '--enable-sqlite-utf8' '--with-tidy=shared,/usr' '--with-xmlrpc=shared' '--with-xpm-dir=/usr' '--with-pdo-pgsql=shared,/usr' '--with-pgsql=shared,/usr' '--with-imap=shared,/opt/alt/libc-client11' '--with-imap-ssl=/opt/alt/openssl11' '--with-mssql=shared,/opt/alt/freetds11/usr' '--with-pdo-dblib=shared,/opt/alt/freetds11/usr' '--with-snmp=shared,/opt/alt/net-snmp11/usr' '--with-sybase-ct=shared,/opt/alt/freetds11/usr' '--with-t1lib=/opt/alt/t1lib/usr' '--with-interbase=shared,/usr' '--with-pdo-firebird=shared,/usr' '--with-pspell=shared' '--with-unixODBC=shared,/usr' '--with-icu-dir=/opt/alt/libicu57/usr' '--with-xsl=shared,/usr'"
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/alt/php53/usr/bin/${program_prefix}php${program_suffix}${exe_extension}"
    ;;
  cgi)
    php_cgi_binary="/opt/alt/php53/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;;
--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

Zerion Mini Shell 1.0