config root man

Current Path : /usr/local/bin/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/bin/php-config

#! /bin/sh

SED="/usr/bin/sed"
prefix="/usr/local"
exec_prefix="${prefix}"
version="5.2.17"
vernum="50217"
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=" -L/usr/local/lib -L/usr/local/lib/mysql"
libs="-lcrypt  -lc-client4  -lz -lexslt -lexpat -lexpat -lcrypt -lreadline -lncurses -lpq -lpq -lmysqlclient -lmhash -lmcrypt -lltdl -lssl -lcrypto -lcrypt -lpam -liconv -liconv -lintl -lt1 -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lbz2 -lz -lssl -lcrypto -lm  -lxml2 -lz -liconv -lm -lcurl -lssl -lcrypto -lz -lxml2 -lz -liconv -lm -lmysqlclient -lz -lcrypt -lm -lssl -lcrypto -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxslt -lxml2 -lz -liconv -lm -lcrypt "
extension_dir='/usr/local/lib/php/20060613'
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--with-layout=GNU' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-fastcgi' '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php' '--enable-zend-multibyte' '--with-zend-vm=CALL' '--with-bz2=/usr' '--enable-ctype' '--with-curl=/usr/local' '--enable-dom' '--enable-filter' '--with-pcre-dir=/usr/local' '--enable-ftp' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--enable-exif' '--with-gd' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--with-t1lib=/usr/local' '--with-gettext=/usr/local' '--enable-hash' '--with-iconv=/usr/local' '--with-iconv-dir=/usr/local' '--with-imap=/usr/local' '--with-imap-ssl=/usr' '--enable-json' '--enable-mbstring' '--enable-mbregex' '--with-mcrypt=/usr/local' '--with-mhash=/usr/local' '--with-mysql=/usr/local' '--with-pdo-mysql=/usr/local' '--with-pcre-regex=yes' '--enable-pdo' '--with-pdo-sqlite' '--with-pgsql=/usr/local' '--with-pdo-pgsql=/usr/local' '--enable-posix' '--with-readline=/usr' '--enable-session' '--enable-simplexml' '--enable-soap' '--enable-sockets' '--enable-spl' '--with-sqlite' '--enable-sqlite-utf8' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--with-xmlrpc' '--enable-xmlwriter' '--with-xsl=/usr/local' '--enable-zip' '--enable-bcmath' '--enable-pcntl' '--with-libexpat-dir=/usr/local' '--with-pear=/usr/local/share/pear' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info'"
php_sapis="cli apache"

# 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;;
--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]
  --php-binary        [$php_binary]
  --php-sapis         [$php_sapis]
  --configure-options [$configure_options]
  --version           [$version]
  --vernum            [$vernum]
EOF
  exit 1;;
esac

exit 0

Man Man