Upgrading Software Packages
Keeping your software packages (such as PHP, databases, web servers, and more) up to date in the ServBay local web development environment is essential for productivity, security, and access to new features. ServBay provides an intuitive and efficient process for managing and upgrading your packages. By following the steps and feature introductions below, you can easily update your desired packages to the latest versions.
TIP
The package upgrade process is safe and non-destructive. Upgrading will not affect your current data, including but not limited to data files in MariaDB, MySQL, or PostgreSQL databases, website files, SSL certificate configurations, and more. You can confidently update to the latest versions without worrying about data loss or corruption.
Steps to Upgrade Packages
ServBay's graphical user interface (GUI) makes the upgrade process very straightforward. Please follow these steps:
Open the ServBay App:
Launch the ServBay application. You can open it via macOS Launchpad, the Applications folder, or by searching with Spotlight.Navigate to the "Packages" Page:
In ServBay’s interface, use the navigation menu on the left and click on thePackages
option. This brings you to the page where ServBay manages all installed packages.View the Package List:
On the "Packages" page, you'll see a detailed list showing all available or installed packages in ServBay. The list typically displays the package name, current installed version, the latest available version, running status (such as "Running," "Stopped"), Process ID (PID), and other key information.Check for Available Updates:
Carefully review theLatest Version
column in the package list. If a package has an available update, theLatest Version
column will show a higher version number than theCurrent Version
. Additionally, a prominent orangeUpgrade
button (usually with an upward arrow icon) will appear on the far right of the entry, clearly indicating an available update.Click the "Upgrade" Button:
Find the package you wish to upgrade and click the orangeUpgrade
button on the far right of that package's entry. Upon clicking, ServBay will begin the upgrade process.Monitor the Upgrade Process:
After clicking the upgrade button, ServBay will automatically handle the download and installation of the package. The progress may be displayed via progress indicators or status messages in the interface. The duration depends on the package size and your network speed. Upon completion, ServBay will automatically restart the package (if it was previously running), and its status will update toRunning
with theCurrent Version
reflecting the latest version number.
Example: Upgrading the PHP Package
Suppose you want to upgrade your installed PHP 8.1 version in ServBay. Here’s how you would proceed:
Navigate to the "Packages" Page:
Open the ServBay app and clickPackages
from the left navigation menu.Locate the PHP 8.1 Package:
In the package list, scroll or search for thePHP 8.1
entry. You might see information like:Current Version
is8.1.28
, whileLatest Version
shows8.1.29
, indicating an available update from 8.1.28 to 8.1.29.Click the Corresponding "Upgrade" Button:
On the far right of thePHP 8.1
entry, find and click the orangeUpgrade
button.Wait for the Upgrade to Complete and Verify:
ServBay will begin downloading and installing the latest version of PHP 8.1. During the process, its status may show "Upgrading." Once finished, the status will automatically return toRunning
, and theCurrent Version
will update to show8.1.29
.
Illustration: The ServBay Packages page displays software with available updates and the upgrade button.
Frequently Asked Questions (FAQ)
Will upgrading packages affect my current data and projects?
No. One of ServBay’s core design philosophies is safeguarding and isolating your essential data. Upgrading a package only replaces its program files—your website files, database files (such as those under /Applications/ServBay/data/mysql
, /Applications/ServBay/data/pgsql
, etc.), SSL certificates, custom configuration files, and so on are stored separately and will not be deleted or modified during package upgrades. For more on database file management, see Database File Management and Migration.
How can I confirm if a package has been successfully upgraded?
There are several ways to ensure an upgrade was successful:
- On the "Packages" page, the package’s
Current Version
is now the previousLatest Version
. - The package’s status displays as
Running
. - You can check the package’s log files (if applicable) or verify the new version via the command line (for example, for PHP, run
php -v
in the terminal to check its version—but note that this depends on whether your system’s PATH is set to ServBay’s PHP).
What should I do if an error occurs during the upgrade process?
If you encounter network issues, file permission errors, insufficient disk space, or other errors during the upgrade, ServBay's interface will typically display descriptive error messages.
- First, refer to the error messages for troubleshooting steps, such as checking your network connection, ensuring the ServBay app has write permissions, or freeing up disk space.
- If the problem persists, try restarting the ServBay app and attempting the upgrade again.
- If the issue is still unresolved, consider contacting the ServBay support team, providing details of the error message, your ServBay version, macOS version, and other relevant information for expert assistance.
Does ServBay support automatic package upgrades?
Currently, ServBay does not provide fully automated background upgrades for packages. Developers need to manually check the “Packages” page periodically and click the “Upgrade” button when updates are available. This manual approach gives developers full control, allowing them to review update details and schedule the upgrade at their convenience—avoiding compatibility issues that may arise from unintentional automatic updates.
Summary
With ServBay’s intuitive “Services” page and simple point-and-click operations, you can effortlessly keep your local development environment’s packages—such as PHP, MySQL, Nginx, Apache, Node.js, Python, Go, Java, and more—up to date. Regularly upgrading these packages is a key step in maintaining a secure, stable, and feature-rich development environment. The upgrade process is safe and has no impact on your existing data, allowing you to focus on your development work.