This document guides you to upgrade from 1.6 to 1.7. For the original 1.5 version, it is recommended to upgrade to 1.6 first and then follow this document.
# Environment requirements
- PHP extensions require the addition of pcntl, sockets, posix
- PHP functions
pcntl_signal, pcntl_async_signals, pcntl_alarmcannot be disabled
# Upgrade dependencies
# Perform upgrade
Similar to upgrade 1.6, get the latest code, overwrite it, copy
public/update/update.php, and run it. Check that all functions are working after completion.
# Upgrade between versions 1.7
Web page support as in 1.6.
Command mode is supported since 1.7.10. Some versions make changes to large tables or have data migrated, the web page tends to time out, so it is recommended to use commands for this. After executing the code override, just run the command
nexus:update under ROOT_PATH.
Since 1.7.20, we support downloading remote code directly to overwrite and install dependencies.
--tag=1.x.x specifies a certain version number (
dev for the latest development code).
---include_composer Whether to update composer, when the dependency has been updated (see the release announcement) need, otherwise not. If updated, the plugin needs to be reinstalled, see blog description (opens new window).
# >= 1.7.10, Install the dependencies first composer install # and then run the upgrade command php artisan nexus:update # >= 1.7.20, supports direct download of remote code to overwrite: php artisan nexus:update --tag=1.7.22