📌 Overview
messageconcept provides updated PHP versions bundled with official PeopleSync releases. Using these official releases is the preferred and recommended method for keeping PHP up to date.
However, if needed, PHP can also be updated manually by following the steps in this guide.
It is fully supported to update to the most recent patch version of the PHP version installed (e.g., from PHP 8.1.22 to 8.1.28), as long as the major.minor version remains the same.
✅ Prerequisites
Before proceeding, ensure the following:
-
You are running PeopleSync version 22.7 or later.
-
You have administrative access to the PeopleSync Frontend server.
🔐 Backup First
Before making any changes:
-
Create a full backup of the PeopleSync Frontend Server
-
Create a full backup of the existing PHP folder, i.e.:
C:\Program Files\messageconcept\PeopleSync Server\PHP -
Ensure the backup includes:
-
php.ini -
All files in the
extsubdirectory that match:-
php_sqlsrv_*_nts_x64.dll -
php_pdo_sqlsrv_*_nts_x64.dll
-
-
These files are essential for SQL Server connectivity and must be preserved during the update.
🔄 Update Steps
1. Download the New PHP Version
-
Download the most recent x64 Non Thread Safe (NTS) version that matches your currently installed major.minor PHP version. Please see the following version table:
|
Minimum PeopleSync Version |
Supported PHP Version |
|---|---|
|
26.4 |
PHP 8.4.x VS17 x64 Non Thread Safe |
|
24.5 |
PHP 8.3.x VS16 x64 Non Thread Safe |
|
23.11 |
PHP 8.1.x VS16 x64 Non Thread Safe |
|
22.9 |
PHP 8.1.x VS16 x64 Non Thread Safe |
|
22.7 |
PHP 8.1.x VS16 x64 Non Thread Safe |
Make sure to select the correct version to avoid compatibility issues.
Only the PHP branch (e.g 8.3.x, 8.1.x) explicitly specified for your PeopleSync Frontend release is supported. Using a different version was not tested and may result in system instability or unexpected behavior.
2. Update the PHP Folder
-
Before updating, stop IIS, by running the following command in an elevated command prompt:
iisreset /stop -
Navigate to your PeopleSync Frontend’s PHP folder, e.g.
C:\Program Files\messageconcept\PeopleSync Server\PHP -
Delete all contents of this folder except:
-
php.ini -
Any files in the
extsubdirectory matching:-
php_sqlsrv_*_nts_x64.dll -
php_pdo_sqlsrv_*_nts_x64.dll
-
-
-
Extract the downloaded PHP archive to a temporary location.
-
Copy all files and folders from the extracted archive into the cleaned PHP directory.
3. Clean Up ProgramData Cache
-
Navigate to:
%ProgramData%\PeopleSync -
Delete all subfolders inside this directory, but do not delete the
PeopleSyncfolder itself.
This step ensures that outdated cached data does not interfere with the updated PHP runtime.
4. Start IIS and verify the Frontend works
-
Run the following command in an elevated command to start IIS:
iisreset /start -
Follow the steps in How to know if Frontend is operational to verify the Frontend works.
🧪 Troubleshooting
-
Make sure you have restored php.ini in the PHP installation folder, and the following files in the
extsubfolder:php_sqlsrv_*_nts_x64.dllphp_pdo_sqlsrv_*_nts_x64.dll -
If PHP is not working after the update, ensure that the matching Visual C++ Redistributable for Visual Studio 2015–2022 (x64) is installed.
You can download it from:
https://aka.ms/vs/17/release/vc_redist.x64.exe -
Check logs in
C:\Windows\Temp\php_peoplesync_errors.logfor PHP-related issues. -
Ensure the PHP directory and
extfolder have appropriate read/execute permissions, i.e.IIS_IUSRSneedReadpermission on these directories.