%PDF- %PDF-
Direktori : /backups/router/usr/local/bin/ |
Current File : //backups/router/usr/local/bin/php-config |
#! /bin/sh SED="sed" prefix="/usr/local" datarootdir="/usr/local/share" exec_prefix="${prefix}" version="8.3.16" vernum="80316" 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=" -lelf -L/usr/local/lib -L/lib" libs="-lcrypt -lutil -lm -lpthread -L/usr/local/lib -lxml2 -lssl -lcrypto -lpcre2-8 -largon2 -lz -lssl -lcrypto -lcrypt " extension_dir='/usr/local/lib/php/20230831' man_dir=`eval echo /usr/local/share/man` program_prefix="" program_suffix="" exe_extension="" php_cli_binary=NONE php_cgi_binary=NONE configure_options=" '--disable-all' '--program-prefix=' '--with-config-file-scan-dir=/usr/local/etc/php' '--with-layout=GNU' '--with-libxml' '--with-openssl' '--with-password-argon2=/usr/local' '--enable-dtrace' '--enable-embed' '--enable-fpm' '--with-fpm-group=www' '--with-fpm-user=www' '--enable-mysqlnd' '--with-external-pcre=/usr/local' '--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/share/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd14.2' 'build_alias=amd64-portbld-freebsd14.2' 'PKG_CONFIG=pkgconf' 'PKG_CONFIG_LIBDIR=/usr/obj/usr/ports/lang/php83/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig' 'CFLAGS=-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'CPP=cpp' 'CXXFLAGS=-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include ' 'OPENSSL_CFLAGS=-I/usr/local/include' 'OPENSSL_LIBS=-L/usr/local/lib -lssl -lcrypto'" php_sapis=" cli embed fpm phpdbg cgi" ini_dir="/usr/local/etc/php" ini_path="/usr/local/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