config root man

Current Path : /usr/opt/php72/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/opt/php72/bin/php-config

#! /bin/sh

SED="/usr/bin/sed"
prefix="/usr/opt/php72"
datarootdir="/usr/opt/php72/share"
exec_prefix="${prefix}"
version="7.2.24"
vernum="70224"
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 -lcrypt -lreadline -lncurses -lpq -lpq -lcrypto -lssl -lcrypto -lcrypt -lpam -liconv -liconv -lintl -lpng -lz -ljpeg -lcrypto -lssl -lcrypto -lbz2 -lz -lcrypto -lssl -lcrypto -lrt -lm  -lxml2 -lz -liconv -lm -lcurl -lssl -lcrypto -lz -lxml2 -lz -liconv -lm -lfreetype -lz -lmysqlclient -lz -lcrypt -lm -lssl -lcrypto -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/opt/php72/lib/php/20170718'
man_dir=`eval echo /usr/opt/php72/man`
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' '--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-jis-conv' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--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-mhash=/usr/local' '--with-pdo-mysql=/usr/local' '--with-pcre-regex=yes' '--enable-pdo' '--with-pgsql=/usr/local' '--with-pdo-pgsql=/usr/local' '--enable-posix' '--with-readline=/usr' '--enable-session' '--enable-simplexml' '--enable-soap' '--enable-sockets' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl=/usr/local' '--enable-zip' '--enable-bcmath' '--enable-pcntl' '--with-libexpat-dir=/usr/local' '--with-pear=/usr/opt/php72/share/pear' '--prefix=/usr/opt/php72' '--mandir=/usr/opt/php72/man' '--infodir=/usr/opt/php72/info' '--with-mysqli=/usr/local/bin/mysql_config' '--enable-fileinfo' '--enable-opcache' '--enable-phar' '--enable-fpm' '--with-fpm-user=apache' '--with-fpm-group=apache'"
php_sapis=" cli fpm phpdbg cgi"

# 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

Man Man