0x1998 - MANAGER
Edit File: php-config
#! /bin/sh SED="/bin/sed" prefix="/usr/local/php7.2" datarootdir="/usr/local/php7.2/php" exec_prefix="${prefix}" version="7.2.34" vernum="70234" 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/lib/gcc/x86_64-linux-gnu/6 -L/usr/lib/x86_64-linux-gnu/mit-krb5 -L/usr/lib/x86_64-linux-gnu" libs="-lcrypt -lc-client -lzip -lz -lexslt -largon2 -lcrypt -ledit -lncurses -laspell -lpspell -lpq -lrt -lpq -lresolv -lz -lstdc++ -lcrypt -lpam -lgmp -lX11 -lXpm -lpng -lz -ljpeg -lwebp -lenchant -lgdbm -lbz2 -lz -lrt -lm -ldl -lnsl -lgcc -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcurl -lxml2 -lssl -lcrypto -lfreetype -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -licuio -licui18n -licuuc -licudata -lmemcached -lmemcachedutil -lsasl2 -lz -lsasl2 -lssl -lcrypto -licuuc -licudata -lxml2 -lxml2 -lcrypt -largon2 -largon2 -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxslt -lxml2 -lssl -lcrypto -lcrypt " extension_dir='/usr/local/php7.2/lib/php/extensions/no-debug-non-zts-20170718' man_dir=`eval echo ${datarootdir}/man` program_prefix="" program_suffix="" exe_extension="" php_cli_binary=NONE php_cgi_binary=NONE configure_options=" '--build=x86_64-linux-gnu' '--with-config-file-path=/usr/local/php7.2/etc' '--with-config-file-scan-dir=/usr/local/php7.2/etc/conf.d' '--disable-cgi' '--disable-rpath' '--enable-bcmath' '--enable-calendar' '--enable-dba' '--enable-exif' '--enable-ftp' '--enable-igbinary' '--enable-inline-optimization' '--enable-intl' '--enable-libgcc' '--enable-mbregex' '--enable-mbstring' '--enable-memcached' '--enable-memcached-igbinary' '--enable-memcached-json' '--enable-mongodb' '--enable-mysqlnd' '--enable-opcache' '--enable-pcntl' '--enable-pdo' '--enable-redis' '--enable-shared=yes' '--enable-short-tags' '--enable-shmop' '--enable-sigchild' '--enable-soap' '--enable-sockets' '--enable-static=yes' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--enable-zip' '--with-bz2' '--with-curl' '--with-enchant' '--with-freetype-dir=/usr/include/' '--with-gd' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-gnu-ld' '--with-iconv' '--with-imagick' '--with-imap' '--with-imap-ssl' '--with-jpeg-dir=/usr/include/' '--with-kerberos' '--with-libedit' '--with-libxml-dir' '--with-libzip' '--with-mhash' '--with-mysqli=mysqlnd' '--with-openssl' '--with-password-argon2' '--with-pcre-regex' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql' '--with-pgsql' '--with-png-dir' '--with-pspell' '--with-sodium=shared' '--with-webp-dir=/usr/include/' '--with-xmlrpc' '--with-xpm-dir' '--with-xsl' '--with-zlib' '--prefix=/usr/local/php7.2' 'build_alias=x86_64-linux-gnu'" php_sapis=" cli phpdbg" # 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