$16 GRAYBYTE WORDPRESS FILE MANAGER $63

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.217.149
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/local/lsws/admin/html.6.3.2/utility/build_php/

HOME
Current File : /usr/local/lsws/admin/html.6.3.2/utility/build_php//build_install_ext.template
###########################################
EXTENSION_NAME="__extension_name__"
EXTENSION_DIR=__extension_dir__
EXTENSION_EXTRA_CONFIG="__extension_extra_config__"
###########################################


echo ""
echo "=============================================="
main_msg "Start building ${EXTENSION_NAME} Extension"
echo "=============================================="
echo `date`
echo ""

main_msg "Changing to build directory ${PHP_BUILD_DIR}/php-${PHP_VERSION}/${EXTENSION_DIR}" 
cd ${PHP_BUILD_DIR}/php-${PHP_VERSION}/${EXTENSION_DIR}
check_errs $? "Could not get into build directory"

main_msg "Running PHPize for ${EXTENSION_NAME} extension" 
${INSTALL_DIR}/bin/phpize 
check_errs $? "Could not run PHPize for ${EXTENSION_NAME}"

main_msg "Configuring ${EXTENSION_NAME} extension build" 
./configure ${EXTENSION_EXTRA_CONFIG} --with-php-config=${INSTALL_DIR}/bin/php-config
check_errs $? "Could not configure ${EXTENSION_NAME} extension build"

main_msg "Compiling ${EXTENSION_NAME} extension" 
make
check_errs $? "Could not compile ${EXTENSION_NAME} extension"

main_msg "Installing ${EXTENSION_NAME} extension" 
make install
check_errs $? "Could not install ${EXTENSION_NAME} extension"

if [  "${INST_USER}" = "root" ]; then
    echo "chown -R ${PHP_USR}:${PHP_USRGROUP} ${PHP_BUILD_DIR}/php-${PHP_VERSION}/${EXTENSION_DIR} "
	chown -R ${PHP_USR}:${PHP_USRGROUP} ${PHP_BUILD_DIR}/php-${PHP_VERSION}/${EXTENSION_DIR} 
	check_errs $? "Could not chown to ${PHP_USR}:${PHP_USRGROUP} for direcotry ${PHP_BUILD_DIR}/php-${PHP_VERSION}/${EXTENSION_DIR}"
fi

echo ""
echo "=============================================="
main_msg "${EXTENSION_NAME} extension build complete"
echo "=============================================="
echo `date`
echo ""
	


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
15 Apr 2025 8.01 PM
root / root
0755
buildPHP.php
0.554 KB
15 Apr 2025 8.01 PM
root / root
0644
buildProgress.php
0.358 KB
15 Apr 2025 8.01 PM
root / root
0644
buildStep1.php
1.454 KB
15 Apr 2025 8.01 PM
root / root
0644
buildStep2.php
9.347 KB
15 Apr 2025 8.01 PM
root / root
0644
buildStep3.php
3.464 KB
15 Apr 2025 8.01 PM
root / root
0644
buildStep4.php
4.221 KB
15 Apr 2025 8.01 PM
root / root
0644
build_common.template
0.552 KB
15 Apr 2025 8.01 PM
root / root
0644
build_install.template
3.997 KB
15 Apr 2025 8.01 PM
root / root
0644
build_install_ext.template
1.723 KB
15 Apr 2025 8.01 PM
root / root
0644
build_manual_run.template
1.047 KB
15 Apr 2025 8.01 PM
root / root
0644
build_prepare.template
5.285 KB
15 Apr 2025 8.01 PM
root / root
0644
build_prepare_ext.template
2.602 KB
15 Apr 2025 8.01 PM
root / root
0644
buildconf.inc.php
1.955 KB
15 Apr 2025 8.01 PM
root / root
0644
buildfunc.inc.php
26.809 KB
15 Apr 2025 8.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF