✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.138
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/local/lsws/admin/html.6.3.2/utility/build_php//build_prepare_ext.template
###########################################
EXTENSION_NAME="__extension_name__"
EXTENSION_SRC=__extension_src__
EXTRACT_METHOD="__extract_method__"
EXTENSION_DIR="__extension_dir__"
EXTENSION_DOWNLOAD_URL="__extension_download_url__"
###########################################

echo "============================================================="
main_msg "Preparing source code for building ${EXTENSION_NAME} Extension"
echo "============================================================="
echo ""

echo "Changing to build directory ${PHP_BUILD_DIR}" 
cd ${PHP_BUILD_DIR}
check_errs $? "Could not get into build directory"

if [ -e "${EXTENSION_SRC}" ] ; then
	main_msg "${EXTENSION_SRC} already downloaded, use the saved copy."
	NEW_DOWNLOAD=N
else
	main_msg "Retrieving ${EXTENSION_NAME} extension source archive ${EXTENSION_DOWNLOAD_URL}" 
	${DL_METHOD} ${EXTENSION_SRC} ${EXTENSION_DOWNLOAD_URL}
	check_errs $? "Fail to retrieve ${EXTENSION_NAME} extension source archive"
	echo ""
	NEW_DOWNLOAD=Y
fi

echo "Changing to build directory php-${PHP_VERSION}" 
cd php-${PHP_VERSION}
check_errs $? "Could not get into build directory"

echo "Copying ${EXTENSION_NAME} extension source archive" 
cp ../${EXTENSION_SRC} .
check_errs $? "Could not copy"

main_msg "Extracting ${EXTENSION_NAME} extension source archive: ${EXTRACT_METHOD} ${EXTENSION_SRC}" 
${EXTRACT_METHOD} ${EXTENSION_SRC}

if [ "$?" -ne "0" ] ; then
	# remove bad copy
	rm -f ${EXTENSION_SRC} ../${EXTENSION_SRC}
	check_errs $? "Fail to remove bad copy ${EXTENSION_SRC}"

	if [ "${NEW_DOWNLOAD}" = "Y" ] ; then
		check_errs 1 "Could not extract ${EXTENSION_NAME} extension source archive"
	else
		main_msg "Failed to extract existing copy. try download again."
	
		main_msg "Retrieving ${EXTENSION_NAME} extension source archive ${EXTENSION_DOWNLOAD_URL}" 
		${DL_METHOD} ../${EXTENSION_SRC} ${EXTENSION_DOWNLOAD_URL}
		check_errs $? "Fail to retrieve ${EXTENSION_NAME} extension source archive"
		NEW_DOWNLOAD=Y
	
		cp ../${EXTENSION_SRC} .
		check_errs $? "Could not copy"
	
		main_msg "Extracting ${EXTENSION_NAME} extension source archive: ${EXTRACT_METHOD} ${EXTENSION_SRC}" 
		${EXTRACT_METHOD} ${EXTENSION_SRC}
		
		if [ "$?" -ne "0" ] ; then
			# remove bad copy
			rm -f ${EXTENSION_SRC} ../${EXTENSION_SRC}
			check_errs $? "Fail to remove bad copy ${EXTENSION_SRC}"

			check_errs 1 "Could not extract ${EXTENSION_NAME} extension source archive"
		fi
		
	fi
	
fi


echo "============================================================="
main_msg "Finished gathering source code for building ${EXTENSION_NAME} extension"
echo "============================================================="


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
15 Apr 2025 7.57 PM
root / root
0755
buildPHP.php
0.554 KB
15 Apr 2025 7.57 PM
root / root
0644
buildProgress.php
0.358 KB
15 Apr 2025 7.57 PM
root / root
0644
buildStep1.php
1.454 KB
15 Apr 2025 7.57 PM
root / root
0644
buildStep2.php
9.347 KB
15 Apr 2025 7.57 PM
root / root
0644
buildStep3.php
3.464 KB
15 Apr 2025 7.57 PM
root / root
0644
buildStep4.php
4.221 KB
15 Apr 2025 7.57 PM
root / root
0644
build_common.template
0.552 KB
15 Apr 2025 7.57 PM
root / root
0644
build_install.template
3.997 KB
15 Apr 2025 7.57 PM
root / root
0644
build_install_ext.template
1.723 KB
15 Apr 2025 7.57 PM
root / root
0644
build_manual_run.template
1.047 KB
15 Apr 2025 7.57 PM
root / root
0644
build_prepare.template
5.285 KB
15 Apr 2025 7.57 PM
root / root
0644
build_prepare_ext.template
2.602 KB
15 Apr 2025 7.57 PM
root / root
0644
buildconf.inc.php
1.955 KB
15 Apr 2025 7.57 PM
root / root
0644
buildfunc.inc.php
26.809 KB
15 Apr 2025 7.57 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF