reload
Gracefully reload every installed PHP-FPM version and the active web server (Nginx or Apache)
- Command:
/go/reload - Category: Web
- Required option: None
- Output: None of its own; only
systemctl's own output on failure - Last updated: 2026-11-21
On this page: Overview · Quick start · Syntax · Options · Output · Examples · Troubleshooting · Details · See also
Overview
/go/reload asks PHP-FPM and the web server to reload their configuration without dropping connections — a graceful reload (systemctl reload), not a restart. It reloads every installed PHP-FPM version, then the web server currently in use (Nginx or Apache/httpd).
[!NOTE] This is a different command from
/go/fpm reload(thefpmcommand, called with areloadargument), which several other commands schedule automatically after changing aphp.inisetting./go/reloaddocumented here is its own standalone command and also reloads the web server, not just PHP-FPM.
The call is appended to /var/log/go/reload.log.
Quick start
/go/reload
Syntax
/go/reload
The command takes no arguments.
Options
None.
Output
The command prints nothing on success. If a systemctl reload call fails (for example, a web server config error), systemctl's own error goes to the terminal, but the script continues to the next reload regardless.
Examples
# After editing a vhost or php.ini by hand
/go/reload
# Check a service's status if something seems off afterward
systemctl status nginx
systemctl status php8.3-php-fpm # RHEL family naming
systemctl status php8.3-fpm # Debian/Ubuntu naming
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
Unit php-fpm.service not found or similar on the RHEL family |
This command tries to reload a plain php-fpm service in addition to each versioned one; if no such service exists on your server, this call fails while the rest of the script continues. |
Check systemctl list-units '*php-fpm*' for the actual unit names in use; the per-version reloads that follow still happen. |
| Changes don't appear to take effect | A reload only picks up configuration changes; it doesn't help if the web server or PHP-FPM failed to start in the first place, and a config syntax error can make the reload itself fail quietly. | Check systemctl status for the relevant service, and validate the config (nginx -t, apachectl configtest) before reloading. |
| The wrong web server gets reloaded (Nginx reloaded on an Apache server, or the reverse) | The check compares the saved web server setting to the literal string NGINX, case-sensitively; anything that doesn't match exactly falls back to Apache/httpd. |
Confirm which web server is actually in use with systemctl status nginx / systemctl status httpd (or apache2). |
cd: /etc/opt/remi: No such file or directory or cd: /etc/php: No such file or directory |
No PHP version is installed yet. | Install one with installphp first. |
Details
What it does
- Waits one second.
- RHEL family: reloads
php-fpm, then reloads<version>-php-fpmfor every version folder under/etc/opt/remithat has aphp.ini. - Debian and Ubuntu: reloads
php<version>-fpmfor every version folder under/etc/phpthat has anfpm/php.ini. There is no equivalent unversioned reload attempted here, unlike the RHEL branch. - Reloads the web server:
nginxif the saved web server setting is exactlyNGINX, otherwisehttpd(RHEL family) orapache2(Debian/Ubuntu).
Known issues
- No config validation before reloading.
nginxand Apache can refuse a reload if their configuration has a syntax error, and this command doesn't check first or report the difference between a successful and a failed reload — a bad edit can silently keep the old configuration running. - Case-sensitive web server check. The comparison to
NGINXis exact; if the stored value's casing ever differs, the script falls back to Apache/httpdregardless of which server is actually running. - The RHEL branch also reloads a plain
php-fpmunit, in addition to the versioned ones; if that service doesn't exist as a separate unit on your server, this call errors out (while the rest of the reloads still run). - The one-second delay at the start is unexplained and not configurable.
See also
| Command | Description |
|---|---|
fpm |
Restart all installed PHP-FPM versions on your server |
restart |
Restart all PHP-FPM pools and the active web server |
web |
Restart or reload the active web server |
checkapache |
Validate the Apache configuration |
checknginx |
Validate the Nginx configuration and remove vhosts with no site directory |
conf |
Rebuild the Apache/Nginx configuration in GoAdmio |