#! /bin/sh SED="/bin/sed" prefix="/opt/lampp" datarootdir="/opt/lampp/php" exec_prefix="${prefix}" version="7.4.13" vernum="70413" 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/opt/lampp/lib -L/bitnami/xamppunixinstaller74stack-linux-x64/src/imap-2007e/c-client -L/opt/lampp/postgresql/lib" libs="-lcrypt -lc-client -lresolv -lcrypt -lpq -lrt -lldap -llber -lstdc++ -lcrypt -liconv -lgdbm -lbz2 -lrt -lm -ldl -lxml2 -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lssl -lcrypto -lz -lpng16 -lz -ljpeg -lfreetype -lssl -lcrypto -licuio -licui18n -licuuc -licudata -lonig -lsqlite3 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lxml2 -lxslt -lz -liconv -ldl -lm -lxml2 -lexslt -lxslt -lz -liconv -ldl -lm -lxml2 -lzip -lz -lssl -lcrypto -lcrypt " extension_dir='/opt/lampp/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=/opt/lampp' '--with-apxs2=/opt/lampp/bin/apxs' '--with-config-file-path=/opt/lampp/etc' '--with-mysql=mysqlnd' '--enable-inline-optimization' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-ftp' '--enable-gd-native-ttf' '--enable-magic-quotes' '--enable-shmop' '--disable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-gdbm=/opt/lampp' '--with-jpeg-dir=/opt/lampp' '--with-png-dir=/opt/lampp' '--with-freetype-dir=/opt/lampp' '--with-zlib=yes' '--with-zlib-dir=/opt/lampp' '--with-openssl=/opt/lampp' '--with-xsl=/opt/lampp' '--with-ldap=/opt/lampp' '--with-gd' '--with-imap=/bitnami/xamppunixinstaller74stack-linux-x64/src/imap-2007e' '--with-imap-ssl' '--with-gettext=/opt/lampp' '--with-mssql=shared,/opt/lampp' '--with-pdo-dblib=shared,/opt/lampp' '--with-sybase-ct=/opt/lampp' '--with-mysql-sock=/opt/lampp/var/mysql/mysql.sock' '--with-mcrypt=/opt/lampp' '--with-mhash=/opt/lampp' '--enable-sockets' '--enable-mbstring=all' '--with-curl=/opt/lampp' '--enable-mbregex' '--enable-zend-multibyte' '--enable-exif' '--with-bz2=/opt/lampp' '--with-sqlite=shared,/opt/lampp' '--with-sqlite3=/opt/lampp' '--with-libxml-dir=/opt/lampp' '--enable-soap' '--with-xmlrpc' '--enable-pcntl' '--with-mysqli=mysqlnd' '--with-pgsql=shared,/opt/lampp/' '--with-iconv=/opt/lampp' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql=/opt/lampp/postgresql' '--with-pdo_sqlite=/opt/lampp' '--with-icu-dir=/opt/lampp' '--enable-fileinfo' '--enable-phar' '--enable-zip' '--enable-mbstring' '--enable-intl' '--with-libzip' '--with-pear' '--enable-gd' '--with-jpeg' '--with-libwebp' '--with-freetype' '--with-zip' '--disable-huge-code-pages' 'PKG_CONFIG_PATH=/opt/lampp/lib/pkgconfig'" php_sapis=" apache2handler cli phpdbg cgi" ini_dir="" ini_path="/opt/lampp/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