D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpguard
/
cpg-php-fpm
/
bin
/
Filename :
php-config
back
Copy
#! /bin/sh SED="/usr/bin/sed" prefix="/opt/cpguard/cpg-php-fpm" datarootdir="/opt/cpguard/cpg-php-fpm/php" exec_prefix="/opt/cpguard/cpg-php-fpm" version="8.1.29" vernum="80129" include_dir="/opt/cpguard/cpg-php-fpm/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="" libs="-lcrypt -lrt -lresolv -lcrypt -lrt -lutil -lrt -lm -ldl -lssl -lcrypto -lsqlite3 -lcurl -lonig -lsqlite3 -pthread -lrt -lz -lssl -lcrypto -lcrypt " extension_dir='/opt/cpguard/cpg-php-fpm/lib64/extensions/no-debug-non-zts-20210902' man_dir=`eval echo /opt/cpguard/cpg-php-fpm/share/man` program_prefix="" program_suffix="" exe_extension="" php_cli_binary=NONE php_cgi_binary=NONE configure_options=" '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--exec-prefix=/opt/cpguard/cpg-php-fpm' '--bindir=/opt/cpguard/cpg-php-fpm/bin' '--sbindir=/opt/cpguard/cpg-php-fpm/sbin' '--sysconfdir=/opt/cpguard/cpg-php-fpm/etc' '--datadir=/opt/cpguard/cpg-php-fpm/share' '--includedir=/opt/cpguard/cpg-php-fpm/include' '--libdir=/opt/cpguard/cpg-php-fpm/lib64' '--libexecdir=/opt/cpguard/cpg-php-fpm/libexec' '--localstatedir=/opt/cpguard/cpg-php-fpm/var' '--sharedstatedir=/var/lib' '--mandir=/opt/cpguard/cpg-php-fpm/share/man' '--infodir=/opt/cpguard/cpg-php-fpm/share/info' '--prefix=/opt/cpguard/cpg-php-fpm' '--with-config-file-path=/opt/cpguard/cpg-php-fpm/etc' '--with-fpm-user=cpguard' '--with-fpm-group=cpguard' '--enable-fpm' '--enable-fileinfo' '--disable-rpath' '--enable-bcmath' '--enable-exif' '--with-curl' '--enable-mbregex' '--with-openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--disable-xml' '--without-libxml' '--without-iconv' '--disable-dom' '--disable-simplexml' '--disable-calendar' '--disable-xmlreader' '--disable-xmlwriter' '--enable-mbstring' '--with-mysqli' '--enable-mysqlnd' '--enable-sync' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu'" php_sapis=" cli fpm phpdbg cgi" ini_dir="" ini_path="/opt/cpguard/cpg-php-fpm/etc" # Set php_cli_binary and php_cgi_binary if available for sapi in $php_sapis; do case $sapi in cli) php_cli_binary="/opt/cpguard/cpg-php-fpm/bin/${program_prefix}php${program_suffix}${exe_extension}" ;; cgi) php_cgi_binary="/opt/cpguard/cpg-php-fpm/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