How to update PHP for rConfig V8 Core
After reading this page, I can update PHP to 8.4 on my rConfig V8 Core server using the supplied update script, confirm the new version is active, and roll back safely if something goes wrong.
When to use this
Section titled “When to use this”Run this update when your rConfig V8 Core server is on PHP 8.3 or earlier and you want to move to PHP 8.4. PHP 8.3 reached end of active support on 31 Dec 2025, so older versions stop receiving security patches. PHP 8.4 receives active security support until 31 Dec 2028 and brings performance gains for backups, searches, and UI responsiveness.
Prerequisites
Section titled “Prerequisites”- Root or sudo access to your rConfig server
- A current backup of your rConfig installation and database
- A maintenance window of at least 15 minutes (rConfig is briefly unavailable during the update)
- A stable internet connection to download packages
Run the update script
Section titled “Run the update script”The update scripts back up your current PHP configuration, add the trusted PHP 8.4 repository, remove old PHP packages, install PHP 8.4 with all required extensions, configure PHP-FPM, and restart your web server and PHP-FPM.
Pick the tab for your operating system and run the commands as root or with sudo.

cd /homeyum -y install wgetwget https://dl.rconfig.com/downloads/php-updates/centos-php8-update.sh -O /home/centos-php8-update.shchmod +x centos-php8-update.sh./centos-php8-update.sh
cd /homeyum -y install wgetwget https://dl.rconfig.com/downloads/php-updates/centos-php8-update.sh -O /home/centos-php8-update.shchmod +x centos-php8-update.sh./centos-php8-update.shcd /homeyum -y install wgetwget https://dl.rconfig.com/downloads/php-updates/centos-php8-update.sh -O /home/centos-php8-update.shchmod +x centos-php8-update.sh./centos-php8-update.sh
cd /homesudo apt-get install wgetwget https://dl.rconfig.com/downloads/php-updates/ubuntu-php8-update.sh -O /home/ubuntu-php8-update.shchmod +x ubuntu-php8-update.shsudo ./ubuntu-php8-update.shThe script installs PHP 8.4 with every extension rConfig needs:
- php8.4-cli
- php8.4-fpm
- php8.4-mysql
- php8.4-mbstring
- php8.4-xml
- php8.4-curl
- php8.4-zip
- php8.4-gd
- php8.4-intl
- php8.4-bcmath
- php8.4-soap
- php8.4-ssh2
Verify the update
Section titled “Verify the update”Confirm the active PHP version on the command line:
php -vYou should see output similar to:
PHP 8.4.x (cli) (built: ...)Then confirm rConfig itself is healthy:
- Log in to your rConfig web interface.
- Navigate to Admin > System Settings.
- Check the system information panel and confirm the PHP version reads 8.4.x.
- Run a device backup and a configuration search to confirm core functions work.
Custom and Docker installations
Section titled “Custom and Docker installations”The automated scripts assume a standard package manager install. If you compiled PHP from source or run rConfig in a container, follow the relevant notes below.
Custom compiled PHP
Section titled “Custom compiled PHP”If you built PHP from source, back up your configuration and check your install paths before upgrading:
cp /usr/local/lib/php.ini /usr/local/lib/php.ini.backupwhich phpphp-config --prefixThen update manually: download the PHP 8.4 source from php.net, compile with the same configure options you used before, ensure every rConfig-required extension is compiled in, and point your web server at the new PHP version.
Docker and container installations
Section titled “Docker and container installations”If rConfig runs in Docker, update the base image in your Dockerfile and rebuild:
FROM php:8.4-fpmdocker-compose downdocker-compose build --no-cachedocker-compose up -dWhy isn’t rConfig working after the update?
Section titled “Why isn’t rConfig working after the update?”The script fails to download
Section titled “The script fails to download”If wget cannot reach the download server, try curl and check your firewall or proxy:
curl -o /home/php8-update.sh https://dl.rconfig.com/downloads/php-updates/centos-php8-update.shcurl -v https://dl.rconfig.comrConfig shows a blank page
Section titled “rConfig shows a blank page”A blank page usually means a PHP extension is missing. Check the logs and the loaded extension list:
tail -f /var/log/php-fpm/error.logtail -f /var/log/apache2/error.log # Ubuntu/Debiantail -f /var/log/httpd/error_log # CentOS/RHELphp -mA service fails to start
Section titled “A service fails to start”If PHP-FPM or the web server will not start, check status and test the configuration files:
systemctl status php8.4-fpmsystemctl status apache2 # or nginxphp-fpm8.4 -tapachectl configtestPermission errors
Section titled “Permission errors”If you hit permission errors, reset ownership for your platform and check the PHP-FPM socket:
chown -R www-data:www-data /var/www/rconfig # Ubuntu/Debianchown -R apache:apache /var/www/rconfig # CentOS/RHELls -la /var/run/php/Roll back to your previous PHP version
Section titled “Roll back to your previous PHP version”If you need to revert, stop the services, remove PHP 8.4, reinstall your previous version, restore your configuration backup, and restart.
-
Stop the services:
Terminal window systemctl stop php8.4-fpmsystemctl stop apache2 # or nginx -
Remove PHP 8.4:
Terminal window sudo apt-get remove --purge php8.4* # Ubuntu/Debianyum remove php84* # CentOS/RHEL -
Reinstall your previous version (example for PHP 8.1):
Terminal window sudo apt-get install php8.1 php8.1-fpm php8.1-mysql php8.1-mbstring php8.1-xml # Ubuntu/Debianyum install php81 php81-php-fpm php81-php-mysqlnd php81-php-mbstring php81-php-xml # CentOS/RHEL -
Restore your configuration from backup, then restart the services.