config root man

Current Path : /compat/linux/proc/self/root/usr/opt/php74/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 : //compat/linux/proc/self/root/usr/opt/php74/bin/php-config

#! /bin/sh

SED="/usr/bin/sed"
prefix="/usr/opt/php74"
datarootdir="/usr/opt/php74/share"
exec_prefix="${prefix}"
version="7.4.33"
vernum="70433"
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/opt/nge/lib -L/usr/local/lib -L/usr/local/lib/mysql"
libs="-lcrypt  -lc-client4  -lcrypt -lreadline -lncurses -lpq -lpq -lrt -lcrypt -lpam -liconv -liconv -lintl -lbz2 -lrt -lm  -lxml2 -lssl -lcrypto -lz -lcurl -lssl -lcrypto -lxml2 -lssl -lcrypto -lz -lpng -lz -lm -lfreetype -lz -lssl -lcrypto -lonig -lmysqlclient -lz -lcrypt -lm -lssl -lcrypto -lmysqlclient -lz -lcrypt -lm -lssl -lcrypto -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lxslt -lz -liconv -lm -lxml2 -lexslt -lxslt -lz -liconv -lm -lxml2 -lzip -lcrypt "
extension_dir='/usr/opt/php74/lib/php/20190902'
man_dir=`eval echo /usr/opt/php74/man`
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--with-layout=GNU' '--disable-all' '--with-bz2=/usr' '--enable-ctype' '--with-curl=/usr/opt/nge' '--enable-dom' '--with-libxml' '--enable-filter' '--enable-ftp' '--with-openssl=/usr' '--enable-exif' '--with-zlib=/usr/opt/nge' '--with-gettext=/usr/local' '--with-iconv=/usr/local' '--with-imap=/usr/local' '--with-imap-ssl=/usr' '--enable-json' '--enable-mbstring' '--enable-mbregex' '--with-mhash=/usr/local' '--enable-pdo' '--with-pdo-mysql=/usr/local' '--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-bcmath' '--enable-pcntl' '--with-pear=/usr/opt/php74/share/pear' '--prefix=/usr/opt/php74' '--mandir=/usr/opt/php74/man' '--infodir=/usr/opt/php74/info' '--with-mysqli=/usr/local/bin/mysql_config' '--enable-fileinfo' '--enable-phar' '--enable-opcache' '--enable-fpm' '--with-fpm-user=apache' '--with-fpm-group=apache' '--enable-gd' '--with-zip' '--with-jpeg' '--with-freetype' 'PKG_CONFIG_PATH=/usr/opt/nge/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig' 'LDFLAGS=-L/usr/opt/nge/lib -L/usr/local/lib -L/usr/lib ' 'JPEG_CFLAGS=-I/usr/local/include' 'JPEG_LIBS=-L/usr/local/lib'"
php_sapis=" cli fpm phpdbg cgi"
ini_dir=""
ini_path="/usr/opt/php74/etc"

# 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;;
--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

Man Man