Skip to content

Commit

Permalink
Merge branch '124.00stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed May 8, 2022
2 parents ca10950 + 4dfd109 commit 54f13f4
Show file tree
Hide file tree
Showing 44 changed files with 174 additions and 118 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -16,9 +16,9 @@ assignees: ''
Please fill in any relevant information that applies to you:

* **CentOS Version:** i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
* **Centmin Mod Version Installed:** i.e. 123.08stable or 123.09beta01
* **Nginx Version Installed:** i.e. 1.15.12. Can find version via command `nginx -v`
* **PHP Version Installed:** i.e. 5.6.40, 7.0.33, 7.1.28, 7.2.17, 7.3.4. Can find version via command `php -v`
* **Centmin Mod Version Installed:** i.e. 123.08stable or 123.09beta01 or 124.00stable or 130.00beta01
* **Nginx Version Installed:** i.e. 1.21.6. Can find version via command `nginx -v`
* **PHP Version Installed:** Can find version via command `php -v`
* **MariaDB MySQL Version Installed:** i.e. 10.0.x or 10.1.xx or 10.2.xx or 10.3.xx. . Can find version via command `mysqladmin ver`
* **When was last time updated Centmin Mod code base ? :** i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
* **Persistent Config:** Do you have any persistent config file options set in `/etc/centminmod/custom_config.inc` ? You can check via this command: `cat /etc/centminmod/custom_config.inc` and post output using [markdown CODE](https://guides.github.com/features/mastering-markdown/).
Expand Down
60 changes: 29 additions & 31 deletions README.md
Expand Up @@ -2,70 +2,68 @@

![Centmin Mod](/centmin-mod-logo2.jpg)

Centmin Mod can be installed via 2 different ways or latest install instructions on [Official Install Guide](https://centminmod.com/install.html):
Centmin Mod can be installed via Unattended Command Line method below or via latest install instructions on [Official Install Guide](https://centminmod.com/install.html):

1. Centmin Mod Unattended Command Line Install (highly recommended)
2. Centmin Mod installed via Git
2. Centmin Mod installed via Git (deprecated no longer supported)

After install bookmark and read the [Getting Started Guide](https://centminmod.com/getstarted.html) and check out the Centmin Mod Community forum at [https://community.centminmod.com](https://community.centminmod.com)

## Centmin Mod Unattended Command Line Install

Fastest method of install and allows fully unattended installation. Just type this command as root user in SSH on a fresh CentOS 6 or CentOS 7 server. Installation should take between 15-30 minutes on a fast server or up to 50-70 minutes on a slower server depending on server specs and your server's network connectivity and download speed.
Fastest method of install and allows fully unattended installation. Just type this command as root user in SSH on a fresh CentOS 7 server. Installation should take between 15-30 minutes on a fast server or up to 50-70 minutes on a slower server depending on server specs and your server's network connectivity and download speed.

### For latest 1.2.3-eva2000.08 stable install
As at May 8th, 2022, Centmin Mod versions are undergoing a transition version branch wise:

Supports max PHP 7.0 version. For PHP 7.1+ and higher use 123.09beta01 (1.2.3-eva2000.09) beta installer below.
1. Previous 123.08stable is now moving to 124.00stable. 124.00stable is essentially based on the well tested 123.09beta01 branch. All development and changes made in 123.09beta01 are now in 124.00stable.
2. Previous 123.09beta01 code is now in 124.00stable
3. A new 130.00beta01 branch has started and this is also based off of 123.09ebat01 branch but with additional development and code to eventually support EL8+ operating systems like CentOS 8, Alma Linux 8 and Rocky Linux 8. This branch will take over from 123.09beta01 as the development beta branch. EL8+ operating system support isn't fully complete as at May 8th, 2022. So installation on CentOS 7.x is recommended.

yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
### For latest 124.00stable install

### For latest 1.2.3-eva2000.09 beta install
default PHP 7.4.x installation

Also known as 123.09beta01 branch which supports PHP 7.1, 7.2, 7.3.
yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh

default PHP 5.6 beta installer
### For latest 130.00beta01 install

PHP 7.4.x default beta installer.

yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh

PHP 7.0.x default beta installer
PHP 8.1.x default beta installer.

yum -y update; curl -O https://centminmod.com/betainstaller7.sh && chmod 0700 betainstaller7.sh && bash betainstaller7.sh
yum -y update; curl -O https://centminmod.com/betainstaller81.sh && chmod 0700 betainstaller81.sh && bash betainstaller81.sh

PHP 7.1.x default beta installer
PHP 8.0.x default beta installer.

yum -y update; curl -O https://centminmod.com/betainstaller71.sh && chmod 0700 betainstaller71.sh && bash betainstaller71.sh
yum -y update; curl -O https://centminmod.com/betainstaller80.sh && chmod 0700 betainstaller80.sh && bash betainstaller80.sh

PHP 7.2.x default beta installer
PHP 7.4.x default beta installer.

yum -y update; curl -O https://centminmod.com/betainstaller72.sh && chmod 0700 betainstaller72.sh && bash betainstaller72.sh
yum -y update; curl -O https://centminmod.com/betainstaller74.sh && chmod 0700 betainstaller74.sh && bash betainstaller74.sh

PHP 7.3.x default beta installer. See [PHP 7.3 release information](https://community.centminmod.com/threads/php-7-3-0-7-2-13-7-1-25-7-0-33-5-6-39-released.16184/) and [PHP 7.3 vs 7.2 vs 7.1 vs 7.0 benchmarks](https://community.centminmod.com/threads/php-7-3-vs-7-2-vs-7-1-vs-7-0-php-fpm-benchmarks.16090/).

yum -y update; curl -O https://centminmod.com/betainstaller73.sh && chmod 0700 betainstaller73.sh && bash betainstaller73.sh

You can also customise your installs via pre-populating the persistent config file, `/etc/centminmod/custom_config.inc` with overriding variables instead of directly editing `centmin.sh` file **BEFORE** running the the `betainstaller.sh`. See examples discussed on the forums [here](https://community.centminmod.com/threads/discussion-how-do-you-initially-install-setup-your-centmin-mod-server.14736/).

## Centmin Mod installed via Git
PHP 7.2.x default beta installer

Recommended way is via above curl `installer.sh` or `betainstaller.sh` commands even if you need to customise your `centmin.sh` settings - you can do that via pre-populating the persistent config file, `/etc/centminmod/custom_config.inc` with overriding variables instead of directly editing `centmin.sh` file.
yum -y update; curl -O https://centminmod.com/betainstaller72.sh && chmod 0700 betainstaller72.sh && bash betainstaller72.sh

Type as root user in SSH these commands, Centmin Mod will have it's install setup at /usr/local/src/centminmod. Replace `branchname=123.08stable` with `branchname=123.09beta01` if you want to install the beta version.
PHP 7.1.x default beta installer

yum -y install git wget nano bc unzip
cd /usr/local/src
branchname=123.09beta01
git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
cd centminmod
yum -y update; curl -O https://centminmod.com/betainstaller71.sh && chmod 0700 betainstaller71.sh && bash betainstaller71.sh

Then to install either type
PHP 7.0.x default beta installer

for menu mode run centmin.sh and select menu option 1 to install
yum -y update; curl -O https://centminmod.com/betainstaller7.sh && chmod 0700 betainstaller7.sh && bash betainstaller7.sh

./centmin.sh
default PHP 5.6 beta installer

or for CLI install mode
yum -y update; curl -O https://centminmod.com/betainstaller56.sh && chmod 0700 betainstaller56.sh && bash betainstaller56.sh

./centmin.sh install
You can also customise your installs via pre-populating the persistent config file, `/etc/centminmod/custom_config.inc` with overriding variables instead of directly editing `centmin.sh` file **BEFORE** running the the `betainstaller.sh`. See examples discussed on the forums [here](https://community.centminmod.com/threads/discussion-how-do-you-initially-install-setup-your-centmin-mod-server.14736/).

## Contributing

Expand All @@ -80,7 +78,7 @@ Below are guidelines for contributing code wise.

# Pull Requests

* Pull requests can be done against the current [Github active branches](https://github.com/centminmod/centminmod/branches/active) - currently being [123.08stable](https://github.com/centminmod/centminmod/tree/123.08stable) and [123.09beta01](https://github.com/centminmod/centminmod/tree/123.09beta01). Usually once weekly, active branch changes are then merged into [master branch](https://github.com/centminmod/centminmod).
* Pull requests can be done against the current [Github active branches](https://github.com/centminmod/centminmod/branches/active) - currently being [124.00stable](https://github.com/centminmod/centminmod/tree/124.00stable) and [130.00beta01](https://github.com/centminmod/centminmod/tree/130.00beta01). Usually once weekly, active branch changes are then merged into [master branch](https://github.com/centminmod/centminmod).

# Suggestions

Expand Down
20 changes: 10 additions & 10 deletions centmin-cli.sh
Expand Up @@ -24,13 +24,13 @@ CMSDEBUG='n'
#####################################################
DT=$(date +"%d%m%y-%H%M%S")
# for github support
branchname='123.09beta01'
SCRIPT_MAJORVER='1.2.3'
SCRIPT_MINORVER='09'
SCRIPT_INCREMENTVER='812'
branchname='124.00stable'
SCRIPT_MAJORVER='124'
SCRIPT_MINORVER='00'
SCRIPT_INCREMENTVER='4'
SCRIPT_VERSIONSHORT="${branchname}"
SCRIPT_VERSION="${SCRIPT_VERSIONSHORT}.b${SCRIPT_INCREMENTVER}"
SCRIPT_DATE='02/02/22'
SCRIPT_VERSION="${SCRIPT_VERSIONSHORT}.s${SCRIPT_INCREMENTVER}"
SCRIPT_DATE='08/05/22'
SCRIPT_AUTHOR='eva2000 (centminmod.com)'
SCRIPT_MODIFICATION_AUTHOR='eva2000 (centminmod.com)'
SCRIPT_URL='https://centminmod.com'
Expand Down Expand Up @@ -802,9 +802,9 @@ NGINX_PRIORITIZECHACHA='n' # https://community.centminmod.com/posts/67042/
SSL_PROTOCOL_MODERN='y' # switch Nginx HTTPS to disabel TLSv1.0 & TLSv1.1 by default and support TLSv1.2 minimum
DISABLE_TLSONEZERO_PROTOCOL='n' # disable TLS 1.0 protocol by default industry is moving to deprecate for security
NOSOURCEOPENSSL='y' # set to 'y' to disable OpenSSL source compile for system default YUM package setup
OPENSSL_VERSION='1.1.1n' # Use this version of OpenSSL http://openssl.org/
OPENSSL_VERSIONFALLBACK='1.1.1n' # fallback if OPENSSL_VERSION uses openssl 1.1.x branch
OPENSSL_VERSION_OLDOVERRIDE='1.1.1n' # override version if persist config OPENSSL_VERSION variable is out of date
OPENSSL_VERSION='1.1.1o' # Use this version of OpenSSL http://openssl.org/
OPENSSL_VERSIONFALLBACK='1.1.1o' # fallback if OPENSSL_VERSION uses openssl 1.1.x branch
OPENSSL_VERSION_OLDOVERRIDE='1.1.1o' # override version if persist config OPENSSL_VERSION variable is out of date
OPENSSL_THREADS='y' # control whether openssl 1.1 branch uses threading or not
OPENSSL_TLSONETHREE='y' # whether OpenSSL 1.1.1 builds enable TLSv1.3
OPENSSL_CUSTOMPATH='/opt/openssl' # custom directory path for OpenSSL 1.0.2+
Expand Down Expand Up @@ -863,7 +863,7 @@ LIBMEMCACHED_VER='1.0.18' # libmemcached version for source compile
TWEMPERF_VER='0.1.1'

PHP_OVERWRITECONF='y' # whether to show the php upgrade prompt to overwrite php-fpm.conf
PHP_VERSION='5.6.40' # Use this version of PHP
PHP_VERSION='7.4.29' # Use this version of PHP
PHP_MIRRORURL='https://www.php.net'
PHPUPGRADE_MIRRORURL="$PHP_MIRRORURL"
XCACHE_VERSION='3.2.0' # Use this version of Xcache
Expand Down
20 changes: 10 additions & 10 deletions centmin.sh
Expand Up @@ -24,13 +24,13 @@ CMSDEBUG='n'
#####################################################
DT=$(date +"%d%m%y-%H%M%S")
# for github support
branchname='123.09beta01'
SCRIPT_MAJORVER='1.2.3'
SCRIPT_MINORVER='09'
SCRIPT_INCREMENTVER='812'
branchname='124.00stable'
SCRIPT_MAJORVER='124'
SCRIPT_MINORVER='00'
SCRIPT_INCREMENTVER='4'
SCRIPT_VERSIONSHORT="${branchname}"
SCRIPT_VERSION="${SCRIPT_VERSIONSHORT}.b${SCRIPT_INCREMENTVER}"
SCRIPT_DATE='02/02/22'
SCRIPT_VERSION="${SCRIPT_VERSIONSHORT}.s${SCRIPT_INCREMENTVER}"
SCRIPT_DATE='08/05/22'
SCRIPT_AUTHOR='eva2000 (centminmod.com)'
SCRIPT_MODIFICATION_AUTHOR='eva2000 (centminmod.com)'
SCRIPT_URL='https://centminmod.com'
Expand Down Expand Up @@ -802,9 +802,9 @@ NGINX_PRIORITIZECHACHA='n' # https://community.centminmod.com/posts/67042/
SSL_PROTOCOL_MODERN='y' # switch Nginx HTTPS to disabel TLSv1.0 & TLSv1.1 by default and support TLSv1.2 minimum
DISABLE_TLSONEZERO_PROTOCOL='n' # disable TLS 1.0 protocol by default industry is moving to deprecate for security
NOSOURCEOPENSSL='y' # set to 'y' to disable OpenSSL source compile for system default YUM package setup
OPENSSL_VERSION='1.1.1n' # Use this version of OpenSSL http://openssl.org/
OPENSSL_VERSIONFALLBACK='1.1.1n' # fallback if OPENSSL_VERSION uses openssl 1.1.x branch
OPENSSL_VERSION_OLDOVERRIDE='1.1.1n' # override version if persist config OPENSSL_VERSION variable is out of date
OPENSSL_VERSION='1.1.1o' # Use this version of OpenSSL http://openssl.org/
OPENSSL_VERSIONFALLBACK='1.1.1o' # fallback if OPENSSL_VERSION uses openssl 1.1.x branch
OPENSSL_VERSION_OLDOVERRIDE='1.1.1o' # override version if persist config OPENSSL_VERSION variable is out of date
OPENSSL_THREADS='y' # control whether openssl 1.1 branch uses threading or not
OPENSSL_TLSONETHREE='y' # whether OpenSSL 1.1.1 builds enable TLSv1.3
OPENSSL_CUSTOMPATH='/opt/openssl' # custom directory path for OpenSSL 1.0.2+
Expand Down Expand Up @@ -863,7 +863,7 @@ LIBMEMCACHED_VER='1.0.18' # libmemcached version for source compile
TWEMPERF_VER='0.1.1'

PHP_OVERWRITECONF='y' # whether to show the php upgrade prompt to overwrite php-fpm.conf
PHP_VERSION='5.6.40' # Use this version of PHP
PHP_VERSION='7.4.29' # Use this version of PHP
PHP_MIRRORURL='https://www.php.net'
PHPUPGRADE_MIRRORURL="$PHP_MIRRORURL"
XCACHE_VERSION='3.2.0' # Use this version of Xcache
Expand Down
8 changes: 4 additions & 4 deletions example/custom_config.inc
Expand Up @@ -310,9 +310,9 @@ NGINX_PRIORITIZECHACHA='n' # https://community.centminmod.com/posts/67042/
SSL_PROTOCOL_MODERN='y' # switch Nginx HTTPS to disabel TLSv1.0 & TLSv1.1 by default and support TLSv1.2 minimum
DISABLE_TLSONEZERO_PROTOCOL='n' # disable TLS 1.0 protocol by default industry is moving to deprecate for security
NOSOURCEOPENSSL='y' # set to 'y' to disable OpenSSL source compile for system default YUM package setup
OPENSSL_VERSION='1.1.1n' # Use this version of OpenSSL http://openssl.org/
OPENSSL_VERSIONFALLBACK='1.1.1n' # fallback if OPENSSL_VERSION uses openssl 1.1.x branch
OPENSSL_VERSION_OLDOVERRIDE='1.1.1n' # override version if persist config OPENSSL_VERSION variable is out of date
OPENSSL_VERSION='1.1.1o' # Use this version of OpenSSL http://openssl.org/
OPENSSL_VERSIONFALLBACK='1.1.1o' # fallback if OPENSSL_VERSION uses openssl 1.1.x branch
OPENSSL_VERSION_OLDOVERRIDE='1.1.1o' # override version if persist config OPENSSL_VERSION variable is out of date
OPENSSL_THREADS='y' # control whether openssl 1.1 branch uses threading or not
OPENSSL_TLSONETHREE='y' # whether OpenSSL 1.1.1 builds enable TLSv1.3
OPENSSL_CUSTOMPATH='/opt/openssl' # custom directory path for OpenSSL 1.0.2+
Expand Down Expand Up @@ -400,7 +400,7 @@ PHP_MEMCACHE='y' # memcache PHP extension
PHP_MEMCACHED='y' # memcached PHP extension
FFMPEGVER='0.6.0'
SUHOSINVER='0.9.38'
PHP_VERSION='5.6.40' # Use this version of PHP
PHP_VERSION='7.4.29' # Use this version of PHP
PHP_MIRRORURL='https://www.php.net'
PHPUPGRADE_MIRRORURL="$PHP_MIRRORURL"
XCACHE_VERSION='3.2.0' # Use this version of Xcache
Expand Down
8 changes: 4 additions & 4 deletions inc/htpasswdsh.inc
@@ -1,6 +1,6 @@
gethtpasswdsh() {
rm -rf /usr/local/nginx/conf/htpasswd.sh
wget -cq -O /usr/local/nginx/conf/htpasswd.sh https://github.com/centminmod/centminmod/raw/123.09beta01/tools/htpasswd.sh
chmod +x /usr/local/nginx/conf/htpasswd.sh
#/usr/local/nginx/conf/htpasswd.sh
rm -rf /usr/local/nginx/conf/htpasswd.sh
wget -cq -O /usr/local/nginx/conf/htpasswd.sh https://github.com/centminmod/centminmod/raw/${branchname}/tools/htpasswd.sh
chmod +x /usr/local/nginx/conf/htpasswd.sh
#/usr/local/nginx/conf/htpasswd.sh
}
2 changes: 1 addition & 1 deletion inc/nginx_configure.inc
Expand Up @@ -438,7 +438,7 @@ if [[ "$CENTOS_SEVEN" = '7' || "$CENTOS_SIX" = '6' ]]; then
echo
echo "download nginx-rtmp-module from github"
pushd "$DIR_TMP"
time git clone git://github.com/arut/nginx-rtmp-module.git
time git clone https://github.com/arut/nginx-rtmp-module
echo
popd
elif [[ -d "${DIR_TMP}/nginx-rtmp-module" && -d "${DIR_TMP}/nginx-rtmp-module/.git" ]]; then
Expand Down
6 changes: 3 additions & 3 deletions inc/updater_submenu.inc
Expand Up @@ -338,7 +338,7 @@ fi

gitenv_change() {
# check local DNS resolve and network connectivity before setting up git clone
LOCALDNS_RESOLVER=$(awk '/nameserver/ {print $0}' /etc/resolv.conf | awk 'NR==1 {print $2}')
LOCALDNS_RESOLVER=$(awk '/nameserver/ {print $0}' /etc/resolv.conf | grep -v '#' | awk 'NR==1 {print $2}')
if [[ "$LOCALDNS_RESOLVER" = '127.0.0.1' || "$LOCALDNS_RESOLVER" = 'localhost' ]]; then
LOCALDNS_RESOLVER='8.8.8.8'
fi
Expand Down Expand Up @@ -370,7 +370,7 @@ if [[ -d "${SCRIPT_DIR}/.git" ]]; then
if [[ "$(echo $CMGIT | grep github)" ]]; then
GITCURLSTATUS=$(curl -sI https://github.com/centminmod/centminmod/branches/active | grep 'HTTP\/' | awk '/200/ {print $2}')
if [[ "$GITCURLSTATUS" = '200' ]]; then
CMBRANCHLIST=$(curl -s${ipv_forceopt} https://github.com/centminmod/centminmod/branches/active | grep -P '\/centminmod\/centminmod\/tree\/.*">' | grep -Po '(?<=href=")[^"]*(?=")' | sed 's|/centminmod/centminmod/tree/||g' | egrep -v '123.06stable|123.07stable|123.08beta03|123.08beta03-rtmp|123.08zerodown|123.09beta01-gcc|123.09beta01-dnf|123.09beta01-nchan' | uniq)
CMBRANCHLIST=$(curl -s${ipv_forceopt} https://github.com/centminmod/centminmod/branches/active | grep -P '\/centminmod\/centminmod\/tree\/.*">' | grep -Po '(?<=href=")[^"]*(?=")' | sed 's|/centminmod/centminmod/tree/||g' | egrep -v '123.06stable|123.07stable|123.08beta03|123.08beta03-rtmp|123.08zerodown|123.09beta01-gcc|123.09beta01-dnf|123.09beta01-nchan|123.09beta01-el8.5' | uniq)
echo "$CMBRANCHLIST"
fi
else
Expand All @@ -382,7 +382,7 @@ if [[ -d "${SCRIPT_DIR}/.git" ]]; then
fi

echo
read -ep "Enter the branch name you want to switch to i.e. 123.09beta01 : " branchname
read -ep "Enter the branch name you want to switch to i.e. 124.00stable : " branchname
echo

if [ ! "$(echo $CMBRANCHLIST | grep -o "${branchname}")" ]; then
Expand Down
2 changes: 1 addition & 1 deletion installer-dnf-gitlab.sh
Expand Up @@ -14,7 +14,7 @@ export LC_CTYPE=en_US.UTF-8
DT=$(date +"%d%m%y-%H%M%S")
DNF_ENABLE='n'
DNF_COPR='y'
branchname=123.09beta01
branchname='124.00stable'
DOWNLOAD="${branchname}.zip"
LOCALCENTMINMOD_MIRROR='https://centminmod.com'

Expand Down
2 changes: 1 addition & 1 deletion installer-dnf.sh
Expand Up @@ -14,7 +14,7 @@ export LC_CTYPE=en_US.UTF-8
DT=$(date +"%d%m%y-%H%M%S")
DNF_ENABLE='n'
DNF_COPR='y'
branchname=123.09beta01
branchname='124.00stable'
DOWNLOAD="${branchname}.zip"
LOCALCENTMINMOD_MIRROR='https://centminmod.com'

Expand Down
7 changes: 4 additions & 3 deletions installer-gitlab.sh
Expand Up @@ -14,7 +14,7 @@ export LC_CTYPE=en_US.UTF-8
DT=$(date +"%d%m%y-%H%M%S")
DNF_ENABLE='n'
DNF_COPR='y'
branchname=123.09beta01
branchname='124.00stable'
DOWNLOAD="${branchname}.zip"
LOCALCENTMINMOD_MIRROR='https://centminmod.com'

Expand Down Expand Up @@ -1317,7 +1317,6 @@ install_axel() {
echo "Download $AXEL_LINKFILE done."
fi
fi

if [[ "$(tar -tzf axel-${AXEL_VER}.tar.gz >/dev/null; echo $?)" != '0' ]]; then
rm -rf /svr-setup/axel-${AXEL_VER}.*
echo "re-try download form local mirror..."
Expand Down Expand Up @@ -1416,7 +1415,9 @@ cd $INSTALLDIR
#sed -i "s|PHPREDIS='y'|PHPREDIS='n'|" centmin.sh

# switch from PHP 5.4.41 to 5.6.9 default with Zend Opcache
# sed -i "s|^PHP_VERSION='.*'|PHP_VERSION='5.6.20'|" centmin.sh
PHPVERLATEST=$(curl -${ipv_forceopt}sL https://www.php.net/downloads.php| egrep -o "php\-[0-9.]+\.tar[.a-z]*" | grep -v '.asc' | awk -F "php-" '/.tar.gz$/ {print $2}' | sed -e 's|.tar.gz||g' | uniq | grep '7.4' | head -n1)
sed -i "s|^PHP_VERSION='.*'|PHP_VERSION='$PHPVERLATEST'|" centmin.sh
PHPVERLATEST=${PHPVERLATEST:-"7.4.29"}
sed -i "s|ZOPCACHEDFT='n'|ZOPCACHEDFT='y'|" centmin.sh

# disable axivo yum repo
Expand Down
2 changes: 1 addition & 1 deletion installer-latest-gitlab.sh
Expand Up @@ -14,7 +14,7 @@ export LC_CTYPE=en_US.UTF-8
DT=$(date +"%d%m%y-%H%M%S")
DNF_ENABLE='n'
DNF_COPR='y'
branchname=123.09beta01
branchname='124.00stable'
DOWNLOAD="${branchname}.zip"
LOCALCENTMINMOD_MIRROR='https://centminmod.com'

Expand Down

0 comments on commit 54f13f4

Please sign in to comment.