Liniux centos upgrade PHP version ~oneinstack

This article is an upgrade from 7.0.33 to 7.3

Version before upgrade:

Before the upgrade, I encountered a problem, that is, it is not allowed to upgrade across versions that are too large, so I was reminded that I can only upgrade 7.0+ here

Therefore, you must first uninstall the previous PHP, and then reinstall the new version

Uninstall PHP:

Enter the uninstall command:

~/oneinstack/uninstall.sh

I choose 5 here, uninstall all

Select y to confirm uninstallation.

There will be a prompt message when the uninstallation is successful.

Install new version PHP7.3

Jump to the corresponding directory:

cd oneinstack

./install.sh #Note: Do not execute sh install.sh or bash install.sh like this

Select the php version that needs to be installed, and other installed ones can choose do not install or enter n

After selecting, the installation will start

After the installation is complete, it looks like this, just select n for restart os.

After checking the php version number, the latest version of 7.3 has been successfully installed

For detailed operation, refer to the official website: https://oneinstack.com/install/

Guess you like

Origin blog.csdn.net/u014724048/article/details/118363325