Skip to content
Permalink
Browse files
fix php.ini & issue
  • Loading branch information
qtwrk committed Feb 21, 2020
1 parent c6d0298 commit f6b94c4ec137bb5b7a11d2ac592b5ab9ea988876
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
@@ -1381,6 +1381,10 @@ if [[ ! -f /usr/local/lsws/lsphp74/lib64/php/modules/zip.so ]] && [[ $SERVER_OS
fi
#fix the lsphp74-zip missing issue.

if [[ $SERVER_OS == "CentOS" ]] ; then
sed -i 's|error_reporting = E_ALL \& ~E_DEPRECATED \& ~E_STRICT|error_reporting = E_ALL \& ~E_DEPRECATED \& ~E_STRICT|g' /usr/local/lsws/{lsphp72,lsphp73}/etc/php.ini
fi
#fix php.ini & issue

clear
echo "###################################################################"
@@ -208,6 +208,10 @@ fi
install_utility

if [[ $SERVER_OS == "CentOS7" ]] ; then

sed -i 's|error_reporting = E_ALL \& ~E_DEPRECATED \& ~E_STRICT|error_reporting = E_ALL \& ~E_DEPRECATED \& ~E_STRICT|g' /usr/local/lsws/{lsphp72,lsphp73}/etc/php.ini
#fix php.ini & issue

yum list installed lsphp74-devel
if [[ $? != "0" ]] ; then
yum install -y lsphp74-devel

0 comments on commit f6b94c4

Please sign in to comment.