wdcp system mysql, php upgrade and common component installation
Published: 2018-08-07
When installing the following scripts, please note whether Yunsuo is installed on the server. Before installation, please uninstall it or stop the service (Tutorial: https://www.west.cn/faq/list.asp?unid=918)
1. php Version Upgrade
php upgrade used in apache mode under wdcp V2.5 and wdcp V3.2. Suitable for upgrade to 5.4--7.2. After logging in via ssh, copy the following command, press Enter to execute, and choose the version as needed. nginx mode itself supports multiple versions.
```
wget -O php_update.sh http://downinfo.myhostadmin.net/wdcp/php_update.sh && sh php_update.sh && rm -rf php_update.sh
```
2. mysql Version Upgrade
Applicable to myql version 5.5--5.7 upgrade under wdcp V2.5 and wdcp V3.2. After logging in to the server via ssh, copy the command and press Enter to execute.
Note: To ensure data security, please back up important data in advance yourself. Although backups will be made during the upgrade process, actual environments may differ; the upgrade script is not responsible for data.
```
wget -O mysql_update.sh http://downinfo.myhostadmin.net/wdcp/mysql_update.sh && sh mysql_update.sh && rm -rf mysql_update.sh
```
3. redis
wdcp 2.5 version (automatically adapts to current php version)
```
wget -O redis.sh http://downinfo.myhostadmin.net/wdcp/redis.sh
sh redis.sh
```
wdcp 3.2 version (automatically adapts to install all php versions)
```
wget -O phps_redis.sh http://downinfo.myhostadmin.net/wdcp/phps_redis.sh
sh phps_redis.sh
```
4. ioncube
wdcp2.5 version (automatically adapts to current php version)
```
wget -O ioncube.sh http://downinfo.myhostadmin.net/wdcp/ioncube.sh
sh ioncube.sh
```
wdcp 3.2 version (manually select installation version)
```
wget -O ioncubev32.sh http://downinfo.myhostadmin.net/wdcp/ioncubev32.sh
sh ioncubev32.sh
```
5. memcache
wdcp2.5 version (automatically adapts to current php version)
```
wget -O memcached2.5.sh http://downinfo.myhostadmin.net/wdcp/memcache/memcached2.5.sh
sh memcached2.5.sh
```
wdcp 3.2 version (automatically adapts to install all php versions)
```
wget -O phps_memcache.sh http://downinfo.myhostadmin.net/wdcp/memcache/phps_memcache.sh
sh phps_memcache.sh
```
6. zendguard
wdcp2.5 version (automatically adapts to current php version)
```
wget -O zendguard6.sh http://downinfo.myhostadmin.net/wdcp/zendguard6.sh
sh zendguard6.sh
```
wdcp 3.2 version (automatically adapts to install all php versions, including apache mode php versions)
```
wget -O phps_zend.sh http://downinfo.myhostadmin.net/wdcp/phps_zend.sh
sh phps_zend.sh
```
7. SourceGuardian (sg11)
wdcp2.5 version (automatically adapts to current php version)
```
wget -O sg11v2.sh http://downinfo.myhostadmin.net/wdcp/sg11v2.sh
sh sg11v2.sh
```
wdcp 3.2 version (select installation according to php version; default php refers to php5.5 used by apache)
```
wget -O sg11v3.sh http://downinfo.myhostadmin.net/wdcp/sg11v3.sh
sh sg11v3.sh
```
8. fileinfo
wdcp 3.2 version
```
wget -O fileinfov3.sh http://downinfo.myhostadmin.net/wdcp/fileinfov3.sh
sh fileinfov3.sh
```
Old versions have been deprecated: https://www.west.cn/faq/list.asp?unid=607
