PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: phpize Size: 4.79 KB
//opt/cpanel/ea-php56/root/bin/phpize

#!/bin/sh

# Variable declaration
prefix='/opt/cpanel/ea-php56/root/usr'
datarootdir='/opt/cpanel/ea-php56/root/usr/share'
exec_prefix="`eval echo /opt/cpanel/ea-php56/root/usr`"
phpdir="`eval echo /opt/cpanel/ea-php56/root/usr/lib64/php`/build"
includedir="`eval echo /opt/cpanel/ea-php56/root/usr/include`/php"
builddir="`pwd`"
SED="/usr/bin/sed"

FILES_BUILD="mkdep.awk scan_makefile_in.awk shtool libtool.m4"
FILES="acinclude.m4 Makefile.global config.sub config.guess ltmain.sh run-tests*.php"
CLEAN_FILES="$FILES *.o *.lo *.la .deps .libs/ build/ modules/ install-sh \
	mkinstalldirs missing config.nice config.sub config.guess configure configure.in \
	aclocal.m4 config.h config.h.in conftest* ltmain.sh libtool config.cache autom4te.cache/ \
	config.log config.status Makefile Makefile.fragments Makefile.objects confdefs.h \
	run-tests*.php tests/*.diff tests/*.exp tests/*.log tests/*.out tests/*.php"

# function declaration
phpize_usage()
{
  echo "Usage: $0 [--clean|--help|--version|-v]"
}

phpize_no_configm4()
{
  if test $@ -eq 1; then
    clean=" --clean"
  fi

  echo "Cannot find config.m4. "
  echo "Make sure that you run '$0$clean' in the top level source directory of the module"
  echo 
}

phpize_clean()
{
  echo "Cleaning.."
  for i in $CLEAN_FILES; do
    if test -f "$i"; then
      rm -f $i
    elif test -d "$i"; then
      rm -rf $i
    fi
  done
}

phpize_check_configm4()
{
  if test ! -r config.m4; then
     phpize_no_configm4 $@
    exit 1
  fi

}

phpize_get_api_numbers()
{
  # extracting API NOs:
  PHP_API_VERSION=`grep '#define PHP_API_VERSION' $includedir/main/php.h|$SED 's/#define PHP_API_VERSION//'`
  ZEND_MODULE_API_NO=`grep '#define ZEND_MODULE_API_NO' $includedir/Zend/zend_modules.h|$SED 's/#define ZEND_MODULE_API_NO//'`
  ZEND_EXTENSION_API_NO=`grep '#define ZEND_EXTENSION_API_NO' $includedir/Zend/zend_extensions.h|$SED 's/#define ZEND_EXTENSION_API_NO//'`
}

phpize_print_api_numbers()
{
  phpize_get_api_numbers
  echo "Configuring for:"
  echo "PHP Api Version:        "$PHP_API_VERSION
  echo "Zend Module Api No:     "$ZEND_MODULE_API_NO
  echo "Zend Extension Api No:  "$ZEND_EXTENSION_API_NO
}

phpize_check_build_files()
{
  if test ! -d "$phpdir"; then
    cat <<EOF
Cannot find build files at '$phpdir'. Please check your PHP installation.

EOF
    exit 1
  fi

  case "$phpdir" in
  *\ * | *\	*)
    cat <<EOF
Invalid source path '$phpdir'. Whitespace is not allowed in source path.

EOF
    exit 1;;
  esac

  case "$builddir" in
  *\ * | *\	*)
    cat <<EOF
Invalid build path '$builddir'. Whitespace is not allowed in build path.

EOF
      exit 1;;
  esac
}

phpize_check_shtool()
{
  test -x "$builddir/build/shtool" || chmod +x "$builddir/build/shtool"

  if test ! -x "$builddir/build/shtool"; then
    cat <<EOF
shtool at '$builddir/build/shtool' does not exist or is not executable. 
Make sure that the file exists and is executable and then rerun this script. 

EOF
    exit 1
  else
    php_shtool=$builddir/build/shtool
  fi
}

phpize_check_autotools()
{
  test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf
  test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader
  
  if test ! -x "$PHP_AUTOCONF" && test ! -x "`$php_shtool path $PHP_AUTOCONF`"; then
    cat <<EOF
Cannot find autoconf. Please check your autoconf installation and the
\$PHP_AUTOCONF environment variable. Then, rerun this script.

EOF
    exit 1
  fi
  if test ! -x "$PHP_AUTOHEADER" && test ! -x "`$php_shtool path $PHP_AUTOHEADER`"; then
    cat <<EOF
Cannot find autoheader. Please check your autoconf installation and the
\$PHP_AUTOHEADER environment variable. Then, rerun this script.

EOF
    exit 1
  fi
}

phpize_copy_files()
{
  test -d build || mkdir build
 
  (cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
  (cd "$phpdir" && cp $FILES "$builddir")
  (cd "$builddir" && cat acinclude.m4 ./build/libtool.m4 > aclocal.m4)
}

phpize_replace_prefix()
{
  $SED \
  -e "s#/opt/cpanel/ea-php56/root/usr#$prefix#" \
  < "$phpdir/phpize.m4" > configure.in
}

phpize_autotools()
{
  $PHP_AUTOCONF   || exit 1
  $PHP_AUTOHEADER || exit 1
}

phpize_check_headers()
{
  if test ! -f $includedir/main/php.h; then
    echo "Can't find PHP headers in $includedir"
    echo "The php-devel package is required for use of this command."
    exit 1
  fi
}

# Main script

case "$1" in 
  # Cleanup
  --clean)
    phpize_check_configm4 1
    phpize_clean
    exit 0
    ;;

  # Usage
  --help)
    phpize_usage
    exit 0
    ;;

  # Version
  --version|-v)
    phpize_check_headers
    phpize_print_api_numbers
    exit 0
  ;;

  # Default
  *)
     phpize_check_headers

     phpize_check_configm4 0

     phpize_check_build_files

     phpize_print_api_numbers

     phpize_copy_files

     phpize_replace_prefix

     touch install-sh mkinstalldirs missing

     phpize_check_shtool

     phpize_check_autotools

     phpize_autotools
     ;;
esac

exit 0

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
5.89 MB lrwxr-xr-x 2026-01-09 16:25:02
Edit Download
383 B lrwxr-xr-x 2025-12-17 11:13:12
Edit Download
410 B lrwxr-xr-x 2025-12-17 11:13:12
Edit Download
299 B lrwxr-xr-x 2025-12-17 11:13:12
Edit Download
14.50 KB lrwxr-xr-x 2026-01-09 16:24:57
Edit Download
14.50 KB lrwxr-xr-x 2026-01-09 16:24:57
Edit Download
5.95 MB lrwxr-xr-x 2026-01-09 16:25:02
Edit Download
5.91 MB lrwxr-xr-x 2026-01-09 16:25:02
Edit Download
6.61 KB lrwxr-xr-x 2026-01-09 16:24:56
Edit Download
4.79 KB lrwxr-xr-x 2026-01-09 16:24:56
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI