D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
php74
/
bin
/
Filename :
php-config
back
Copy
#! /bin/sh SED="/usr/bin/sed" prefix="/usr/local/php74" datarootdir="/usr/local/php74/php" 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="" libs="-lcrypt -largon2 -lcrypt -lrt -lstdc++ -lrt -lm -lreadline -lxml2 -lsqlite3 -licuio -licui18n -licuuc -licudata -lonig -lsqlite3 -lsodium -lcrypt -lz -largon2 -lz -lssl -lcrypto -lcrypt " extension_dir='/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902' man_dir=`eval echo ${datarootdir}/man` program_prefix="" program_suffix="" exe_extension="" php_cli_binary=NONE php_cgi_binary=NONE configure_options=" '--prefix=/usr/local/php74' '--datadir=/usr/local/php74/share' '--localstatedir=/usr/local/php74/var' '--without-pear' '--with-config-file-path=/etc/php74' '--with-config-file-scan-dir=/etc/php74/conf.d' '--with-zend-vm=GOTO' '--enable-cgi' '--enable-fpm' '--enable-hash' '--enable-intl' '--enable-json' '--enable-libxml=shared' '--enable-bcmath=shared' '--enable-calendar=shared' '--enable-ctype=shared' '--enable-dom=shared' '--enable-exif=shared' '--enable-fileinfo=shared' '--enable-filter' '--enable-ftp=shared' '--enable-gd=shared' '--with-jpeg' '--with-xpm' '--with-freetype' '--enable-mbstring' '--enable-mbregex' '--enable-mbregex-backtrack' '--enable-opcache' '--enable-pcntl=shared' '--enable-pdo' '--enable-phar=shared' '--enable-posix=shared' '--enable-session=shared' '--enable-shmop=shared' '--enable-simplexml=shared' '--enable-soap=shared' '--enable-sockets=shared' '--enable-sysvmsg=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-tokenizer=shared' '--enable-wddx=shared' '--enable-xml=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--disable-gcc-global-regs' '--with-gd=shared' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '--with-xpm-dir=/usr' '--with-freetype-dir=/usr' '--with-webp' '--with-avif' '--with-openssl=shared' '--with-kerberos' '--with-pcre-regex' '--with-pcre-jit' '--with-sqlite3' '--with-zlib=shared' '--with-bz2=shared' '--with-curl=shared' '--with-gettext=shared' '--with-gmp=shared' '--with-mhash=shared' '--with-iconv=shared' '--with-imap=shared' '--with-imap-ssl' '--with-mysql-sock=/No-MySQL-hostname-was-specified' '--with-mysqli=shared,mysqlnd' '--with-pdo-mysql=shared,mysqlnd' '--with-pdo-pgsql=shared' '--with-pdo-sqlite' '--with-pgsql=shared' '--with-pspell=shared' '--with-readline=shared' '--with-tidy=shared' '--with-xmlrpc=shared' '--with-xsl=shared' '--with-sodium' '--with-password-argon2=/usr' '--with-zip=shared'" php_sapis=" cli fpm phpdbg cgi" ini_dir="/etc/php74/conf.d" ini_path="/etc/php74" # 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