# Upgrade

To upgrade your SMS Gateway to the latest version, ensure your server is running PHP 8.3 or higher. Follow the steps below to complete the upgrade:

## Instructions

- Backup .env file from your SMS Gateway directory.
- Remove all files and folders from your SMS Gateway directory except the storage folder.
- Extract SMS-Gateway.zip into your SMS Gateway directory.
- Restore .env file you backed up earlier to the SMS Gateway directory.

## Important Notice

If you are using a legacy version (v9.x.x or below) a fresh installation is required.