MagicServer Version 0.0.3
Date: October 23rd, 2025
✨ Improvements
MagicServer Updater
A new script, update-magicserver.php, has been introduced to streamline the update process. This robust command-line tool automates the updating of MagicServer to the latest version.
Key features of the updater include:
- Automatic Updates: Fetches and installs the latest release directly from the official GitHub repository.
- Service Management: Automatically stops all running services (Apache, MariaDB, Redis) before the update and ensures none are running during the process.
- User Confirmation: Displays the new version to be installed and prompts for user confirmation before proceeding.
- Safe Backup & Recovery: Creates a full backup of the existing installation (excluding user data and configurations) before applying any changes. In case of an error, the updater will automatically roll back to the previous version, ensuring zero corruption.
- PHP Runtime Update: Intelligently handles updates to the PHP runtime itself by using a separate helper script, avoiding file locking issues on Windows.
- Data Protection: Safeguards user data and configurations by skipping sensitive directories and files (e.g.,
www/,data/,mysql/,logs/, and main configuration files likehttpd.confandmy.ini) during the update process. Configuration template files (likehttpd-template.conf) will still be updated to ensure you receive the latest default settings.
What's Changed
- Add text color by @kamshory in #22
- Add MagicServer Updater by @kamshory in #23
- Update by @kamshory in #24
- Update CHANGELOG.md by @kamshory in #25
- Activate xsl extension by @kamshory in #26
- Update update-magicserver.php by @kamshory in #27
- Refactor updater by @kamshory in #28
- Feature/version 0.3.1 by @kamshory in #29
- Update fn-updater.php by @kamshory in #30
Full Changelog: 0.0.2...0.0.3