how to upgrade php 7.2 to 7.3

Questions LEMP Stack Q & ACategory: Linuxhow to upgrade php 7.2 to 7.3
bismillah asked 2 years ago
currently my PHP version is 7.2.33   when run "./upgrade.sh --php 73" i've got this error message #######################################################################
# OneinStack for CentOS/RedHat 6+ Debian 8+ and Ubuntu 14+ #
# Upgrade Software versions for OneinStack #
# For more information please visit https://oneinstack.com #
####################################################################### Current PHP Version: 7.2.33 input error! Please only input '7.2.xx'   please help.. cause my composer give me a warning like this "Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.2.33 "
1 Answers
lempstack answered 1 year ago

You can uninstall php7.2 first, then reinstall php7.3

~/oneinstack/upgrade.sh --oneinstack
~/oneinstack/uninstall.sh --php
~/oneinstack/install.sh --php_option 8
点赞