|
@@ -14,14 +14,13 @@ Install_PHP80() {
|
|
|
[ "$(${apache_install_dir}/bin/httpd -v | awk -F'.' /version/'{print $2}')" == '4' ] && Apache_main_ver=24
|
|
|
[ "$(${apache_install_dir}/bin/httpd -v | awk -F'.' /version/'{print $2}')" == '2' ] && Apache_main_ver=22
|
|
|
fi
|
|
|
- if [ ! -e "${libiconv_install_dir}/lib/libiconv.la" ]; then
|
|
|
+ if [ ! -e "/usr/local/lib/libiconv.la" ]; then
|
|
|
tar xzf libiconv-${libiconv_ver}.tar.gz
|
|
|
pushd libiconv-${libiconv_ver} > /dev/null
|
|
|
- ./configure --prefix=${libiconv_install_dir}
|
|
|
+ ./configure
|
|
|
make -j ${THREAD} && make install
|
|
|
popd > /dev/null
|
|
|
rm -rf libiconv-${libiconv_ver}
|
|
|
- ln -s ${libiconv_install_dir}/lib/libiconv.so.2 /usr/lib64/libiconv.so.2
|
|
|
fi
|
|
|
|
|
|
if [ ! -e "${curl_install_dir}/lib/libcurl.la" ]; then
|
|
@@ -111,7 +110,7 @@ Install_PHP80() {
|
|
|
--with-config-file-scan-dir=${php_install_dir}/etc/php.d \
|
|
|
--with-apxs2=${apache_install_dir}/bin/apxs ${phpcache_arg} --disable-fileinfo \
|
|
|
--enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd \
|
|
|
- --with-iconv=${libiconv_install_dir} --with-freetype --with-jpeg --with-zlib \
|
|
|
+ --with-iconv=/usr/local --with-freetype --with-jpeg --with-zlib \
|
|
|
--enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-exif \
|
|
|
--enable-sysvsem --with-curl=${curl_install_dir} --enable-mbregex \
|
|
|
--enable-mbstring --with-password-argon2 --with-sodium=/usr/local --enable-gd --with-openssl=${openssl_install_dir} \
|
|
@@ -122,7 +121,7 @@ Install_PHP80() {
|
|
|
--with-config-file-scan-dir=${php_install_dir}/etc/php.d \
|
|
|
--with-fpm-user=${run_user} --with-fpm-group=${run_group} --enable-fpm ${phpcache_arg} --disable-fileinfo \
|
|
|
--enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd \
|
|
|
- --with-iconv=${libiconv_install_dir} --with-freetype --with-jpeg --with-zlib \
|
|
|
+ --with-iconv=/usr/local --with-freetype --with-jpeg --with-zlib \
|
|
|
--enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-exif \
|
|
|
--enable-sysvsem --with-curl=${curl_install_dir} --enable-mbregex \
|
|
|
--enable-mbstring --with-password-argon2 --with-sodium=/usr/local --enable-gd --with-openssl=${openssl_install_dir} \
|