Why an OpenEMR 8.4 upgrade starts with the database server
Moving from OpenEMR 8.2 or 8.3 to 8.4 changes the database and PHP requirements, so the database server and PHP runtime must be planned before the application code moves. Treat the database server as its own change with its own backup, test and rollback point. Recent OpenEMR releases require PHP 8.3 or later and run on a MySQL- or MariaDB-compatible database. Confirm the exact minimum MariaDB and MySQL versions for 8.4 in the release notes and upgrade guide for your target release before you schedule anything, because the database minimums are what most often force a server upgrade ahead of the application.
The 8.3.0 release was published on August 18, 2026, 8.4.0 followed on September 13, 2026, and 8.4.1 on September 20, 2026. The security fixes in 8.3.0 and 8.4.0 cover FHIR APIs, the patient portal, billing, the fax and SMS module and the fee sheet, so the move is a patching matter as well as a feature one. A site on 8.2 needs the 8.3 and 8.4 fixes, and a site on 8.3 still needs the 8.4.0 fixes. Check the OpenEMR releases page for the full list of changes between your current version and the target, and confirm the supported upgrade path from your version before you set a window.
Start with an inventory of the current OpenEMR version, the PHP version, the database server name and version, and the storage engine used by the OpenEMR schema. Record which servers are shared with other applications, because a database server upgrade can affect them too. MariaDB 10.11 is one of the maintained long-term releases listed by the MariaDB Foundation, but the OpenEMR minimum for 8.4 is the figure that matters for your plan. Ask your vendor or implementation partner to confirm it in writing, and schedule the database and PHP changes in a test environment restored from a recent backup before production.
What changes in the 8.4 line and what each change requires
This table compares each change in the 8.4 line with its impact on an existing install and the action it requires. Read it against your current version (8.2 or 8.3) and your current database and PHP versions, since some rows apply only to some installs. The main takeaway is that the database server and PHP versions must be confirmed before any application files are changed.
| Change | Impact | Action needed |
|---|---|---|
| MariaDB and MySQL minimums for 8.4 | 8.4 sets higher minimum database server versions than 8.2 or 8.3 may run on. An install below the new minimum cannot take the 8.4 code safely. | Take the exact minimum versions from the 8.4.x release notes and upgrade guide. Check your current server version and plan a database server upgrade first. |
| PHP 8.3 or later | Recent OpenEMR releases require PHP 8.3 or later. Installs on an older PHP runtime must change it before the application can run. | Confirm your PHP version. If it is older than 8.3, plan the PHP upgrade and retest in a staging copy. |
| Security fixes in 8.3.0 and 8.4.0 | Both releases fixed vulnerabilities in FHIR APIs, the patient portal, billing, the fax and SMS module and the fee sheet. Installs on 8.2 or 8.3 carry these issues until upgraded. | Review the release notes for each fixed area. Restrict or disable exposed FHIR, portal and fax or SMS features until the upgrade is complete where your risk review requires it. |
| The 8.4.1 point release | 8.4.1 was released on September 20, 2026 after 8.4.0. Installs that move to 8.4.0 should move to 8.4.1 as well. | Start from 8.4.1 rather than 8.4.0 for new target builds, and confirm its release notes for any additional fixes. |
| Reports, interfaces and billing after a database change | Changing the database server can alter query behavior, collation and date handling. Reports, claims files and interfaces may return different results. | Run a defined set of reports, claim exports and interface messages on a staging copy and compare outputs before cutover. |
Why MariaDB 10.11 and MySQL 8.4 must be in place before the application moves
The order matters because the new OpenEMR code expects a database server at or above the minimum stated for that release, so the database server is upgraded and verified first, and the application moves second. Running the new application against an older server can fail during schema changes or leave the site in a state that is hard to roll back. Recent OpenEMR releases also require PHP 8.3 or later, which is a separate prerequisite that belongs in the same plan. Before you schedule anything, confirm the exact MySQL 8.4 or MariaDB 10.11 minimum for your target version on the OpenEMR releases page. The minimum is set per release, so do not carry it over from an older upgrade guide.
Choose the server target from releases that are still maintained. The MariaDB Foundation lists 10.11 as a maintained long-term release alongside 11.4, 11.8 and 12.3, and 12.3 is the current LTS with a GA date of May 28, 2026. MariaDB 13.0 is a rolling release with community end of life in Q4 2026, so it is a poor fit for a clinical database that needs a stable support window. MariaDB is a MySQL-compatible fork, but compatibility has to be confirmed for the specific OpenEMR version and its queries, so run the application's reports and key workflows against the chosen build before you rely on it. Also confirm which MySQL 8.4 or MariaDB build your hosting platform supports, whether that is a managed database service, an operating system package or a container image, since platforms often lag upstream releases. The MariaDB releases page is the place to check current builds.
Check the upgrade notes for schema changes that depend on server settings before the maintenance window. An installer or upgrade script can require particular privileges, character set, SQL mode or storage behavior, and these requirements are version-specific. Read the 8.4 upgrade notes for the exact list and do not assume your current server defaults match it. Ask your database administrator to confirm that the account running the upgrade has the rights it needs and that the new server's configuration matches what the notes expect. Then restore a recent backup to a staging server running the new database version, run the OpenEMR database upgrade there, and leave production untouched until reports, billing exports and interfaces pass on the staged copy.
What to prepare before the 8.4 upgrade window opens
Six items need to exist, and be agreed, before anyone changes the database server or the OpenEMR code. Each one answers a question the upgrade will ask: can you get back, what are you running today, what did you change yourself, and where did you prove the change works. Work through them in order, because the rollback plan depends on the backup and the staging results.
Full backup, restore-tested
Take a full database dump and a complete copy of the sites directory, including documents, edi, era and letter_templates, plus the sqlconf.php file. Restore both to a separate host and confirm that the application starts and a sample patient chart opens. A backup that has never been restored is a hope, not a rollback option. Record the OpenEMR version, PHP version and database version alongside each backup so the restore target is unambiguous.
Current version inventory
Record the exact OpenEMR version you run today, the PHP version and loaded extensions, and the MySQL or MariaDB version and engine settings. The 8.4 line requires PHP 8.3 or later and MariaDB 10.11 or MySQL 8.4 at minimum, so any gap appears here first. Confirm each value from the server itself, not from the installer notes, and capture the web server and operating system versions in the same record.
Custom code and integration register
List every custom module, core file edit, template override and third-party integration. Include the C-CDA Node.js service, interface connections, fax and SMS gateways, and any scheduled jobs that call the database directly. For each item, name the owner, the source of the code, and whether a version compatible with 8.4 exists. Items without an owner or a compatible version usually decide the window, not the database upgrade itself.
Staging built from production data
Build a staging environment from a recent copy of production data, running the same database engine and version and the same PHP version you plan to use in production. Staging on a different database engine or PHP version proves very little about the cutover. Refresh the copy close to the planned window, and mask or limit real patient data according to your privacy policy before anyone outside the clinical team uses it.
Written rollback plan and point of no return
Write the steps to return to the pre-upgrade state, including how to restore the database and the sites directory and how to switch the application back. Name the point of no return explicitly: the moment after which the database has been changed by the new version in a way the old one cannot read, and new clinical or billing entries have been made. After that point, rollback means a forward fix or a restore that loses entries, so the decision needs a named owner.
Change window agreed with clinical and billing leads
Agree the window in writing with clinical and billing leads, including the start and end times, who can enter data during the freeze, how pending claims and remittance postings are handled, and who signs off the go or no-go decision. Test that billing batches and reports run correctly on staging before the window opens. The window should also leave time for the report and interface checks that follow the database change.
How the database, PHP and application layers move in order
The upgrade starts with an inventory and a backup, then a staging rehearsal that must pass before production changes. The database server is upgraded and verified first, while the current application still runs, so the rollback point sits after that change and before the OpenEMR schema upgrade. After PHP 8.3 and the OpenEMR 8.4 code are in place, the schema upgrade runs through the application's own path, and report and interface checks decide whether the change is accepted or sent back to rollback.
Order of database, PHP and application changes with the rollback point before the schema upgrade.
The upgrade sequence, with a check and a rollback point at each step
This sequence takes an OpenEMR 8.2 or 8.3 system to 8.4 in a fixed order, so the database server, PHP and application code change in controlled stages. Each step ends with a check you can run and a rollback action you can take if the check fails.
Confirm current version and supported path
Record the exact OpenEMR version, the database server and version, the PHP version, and every site in the deployment. Read the official upgrade guide for your starting version and confirm that it covers the move to 8.4 directly, since the path can differ for 8.2 and 8.3. Check the 8.4.1 release notes on the OpenEMR releases page for any later fix you need. The output is a written inventory and a confirmed upgrade path. Rollback here is simply to stop: nothing has changed yet.
Take and restore-test backups
Take a full database dump and a copy of the sites directory, including documents, edi, era and letter_templates, plus the configuration file for each site. Restore the dump into a separate server and confirm that the application logs in and that a sample patient chart and a recent billing record open. The check is a successful restore, not just a finished backup file. Rollback is the restored copy kept as the known-good state. Note that OpenEMR's built-in backup tool is no longer available, so the backup method must be one your team owns and has tested.
Rehearse the full upgrade in staging
Clone production into a staging environment with the same database server version, PHP version and site layout. Run every step below there first and log the exact commands, config changes and errors. Confirm that custom modules and any third-party code load after the change. The output is a written runbook that matches what happened in staging. Rollback is to discard the staging clone and rebuild it from the production backup, which keeps production untouched during rehearsal.
Upgrade the database server to a maintained release
Upgrade MariaDB to a release line that meets the 8.4 minimum of 10.11, or upgrade MySQL to 8.4, following the vendor's own upgrade documentation and the OpenEMR guide for your version. Prefer a release that the database project still maintains at the time of your change window. Confirm the server runs and that the existing application still connects before any OpenEMR code changes. The check is a successful connection and a read of a sample table from the OpenEMR application. Rollback is to reinstall the previous database server package and restore the data directory from the pre-upgrade backup.
Verify server settings and character set
Confirm the server version, the default character set and collation used by the OpenEMR schema, the SQL mode, and the time zone settings. Compare these against the values in the upgrade guide and against the staging result. Confirm that the database user OpenEMR connects with has the privileges the guide lists. The check is a query that returns the expected version, character set and SQL mode, and a test write and read of a text field containing accented characters. Rollback is to restore the prior server configuration file and restart the server, then retest the connection.
Upgrade PHP to 8.3 or later and verify extensions
Install PHP 8.3 or a later supported version on the web tier and point the web server at it. Enable each extension the OpenEMR guide requires and confirm that the version of each extension matches what the guide lists. Confirm the PHP version the web server reports to the application, not only at the command line. The check is a phpinfo-style review under the web server and a page load of the login screen with no fatal errors in the logs. Rollback is to switch the web server back to the previous PHP handler and restart it.
Deploy the 8.4 code and run the database upgrade
Deploy the OpenEMR 8.4 code to the application path, keeping the sites directory, configuration files and custom modules in place as the upgrade guide directs. Then run the database upgrade for each site through the administration path in the guide, one site at a time, and record the output. For multisite installs, complete each site before starting the next. The check is that each site reports its upgrade as complete and that the version shown in the administration area matches 8.4. Rollback is to restore the previous code directory and the pre-upgrade database dump for every affected site, then restart the web and database services.
Test reports, interfaces and clinical workflows
Run a scripted test pass covering login with each role, scheduling, encounters, billing and claim generation, the patient portal if you run it, FHIR or other interfaces, and every report your practice depends on. Compare the output of key reports with values from the pre-upgrade backup for the same date range. Confirm that custom modules and any third-party integrations still send and receive data. The output is a signed test record listing each result. Rollback is the restore of the pre-upgrade database and code, followed by a documented decision on whether the change window was lost. Keep the restored environment available until the test record is accepted.
How to test reports and interfaces after the database change
On a single Docker host, the image change is only part of the retest. Confirm that OpenEMR reaches the MariaDB 10.11 or MySQL 8.4 server you upgraded first, and that the container still mounts the sites volume at the same path. Documents, configuration and per-site data live there and must survive the image swap.
- Sites volume. Confirm the sites volume is mounted after the change and that the documents, edi, era and letter_templates contents under each site are present and readable by the new container.
- Modules outside sites. Check every custom or third-party module, theme or overlay that lives outside the sites volume, and confirm it loads on the new image before users sign in.
- Reports and billing output. Run a fixed set of statements, superbills, encounter reports and claim files, then compare the output with copies saved before the upgrade.
- Scheduled jobs and fax or SMS. Confirm that scheduled tasks run inside the container and that the fax and SMS module sends and receives against a test number.
- Container and database logs. Review container logs and database error logs through the first full day of use for new SQL errors or warnings.
Keep the previous image tag and a verified database backup until every item matches the baseline.
On a bare-metal or VM install, you control the web server, PHP runtime and database connection directly, so the retest starts with the runtime. Recent OpenEMR releases require PHP 8.3 or later, and the database server you upgraded first must be the one the application connects to. Test from the same host and user context that real traffic uses.
- PHP runtime and CLI. Confirm the web server runs PHP 8.3 or later, and check the CLI binary that cron uses, since scheduled jobs often run under a different PHP version.
- Database connection. Confirm the connection settings in
sqlconf.phppoint to the upgraded server and that the OpenEMR database user still holds the privileges the application needs. - FHIR API. Using a registered test client, check a token request, a Patient read and a Bulk Data export. Confirm the granted scopes still limit what the client can read. The OpenEMR FHIR README lists the supported authorization model.
- Patient portal. Sign in as a test patient and check appointments, documents, messages and password rules, then confirm the multi-factor settings still apply.
- External interfaces. Send and receive test messages with labs, clearinghouses, pharmacies and fax or SMS providers, and confirm file drop directories and transfer jobs still run.
Compare every output and response with the saved baseline, and record any difference before you release the system to users.
In a multisite installation, every site has its own database, documents, interface settings and users, so a successful test on one site proves nothing about the others. Test each site separately and record results on a checklist for that site. Do not treat the upgrade as complete because the first site passed.
- Per-site inventory. Before testing, record each site's database name, its documents, edi, era and letter_templates locations, and its interface endpoints and credentials.
- Per-site database and ACL upgrades. Run the database upgrade from each site's
admin.phpand complete the access control upgrade for each site. A skipped site can fail only for its own users. - Site-specific reports and billing. Compare each site's statements, reports and claim output with that site's baseline, because templates, fee schedules and payer settings often differ between sites.
- Shared and per-site interfaces. Test FHIR clients, fax gateways and other integrations for each site, since credentials and endpoints may differ even when the code is shared.
- Isolation check. Sign in as a user from one site and confirm they cannot see another site's patients, documents or reports.
Sign off the multisite upgrade only when every site has its own completed checklist and the isolation check passes.
What makes the 8.4 upgrade take longer
This table lists the factors that expand the work of moving from OpenEMR 8.2 or 8.3 to 8.4 and the check that reveals each one. Read each row before estimating, because most drivers multiply across sites, modules and interfaces rather than adding a single fixed step. The main takeaway is that the database server upgrade and the retest of reports and interfaces usually set the schedule, so inventory them first.
| Driver | Effect on effort | What to check |
|---|---|---|
| Number of sites and size of each database | Each site needs its own database upgrade and verification, so effort grows with site count and the time each database takes to migrate and check | Count sites and record each database size, then confirm per-site upgrade order and rollback points |
| Custom modules and core edits | Modules and core changes may need updated versions or retesting against the 8.4 code and PHP 8.3 runtime | Inventory every custom module and modified core file, and ask each module developer whether 8.4 is supported |
| Third-party interfaces tied to database or PHP version | Interface engines, lab feeds, clearinghouses and reporting tools may connect with drivers or settings that change with MariaDB 10.11, MySQL 8.4 or PHP 8.3 | List every interface, its connection method and driver version, and confirm vendor support for the new database and PHP versions |
| Number of reports and billing workflows to validate | Reports, statements, claim generation and remittance postings each need a baseline comparison before and after the change | Build a test list from production reports and billing tasks, and record expected outputs from the current version |
| Current database version and its upgrade path | If the install runs an older MariaDB or MySQL release, the server must move to a supported version before or with OpenEMR, adding a step | Confirm the current server version against the 8.4 requirements in the release notes, and plan the server upgrade as its own stage |
| Hosting constraints such as air-gapped networks or change freezes | Air-gapped hosts need packages and images moved in by approved media, and freeze windows limit when database and application changes can run | Confirm how packages reach the host, who approves changes, and which dates are blocked |
| Staging time to rehearse the change | A staging copy built from recent production data lets the team run the database upgrade, migrations and tests before cutover, and rehearsal reruns are the main cost of repeated attempts | Ask whether staging can hold a recent production copy of the full database, and schedule rehearsals before the maintenance window is booked |
Questions buyers ask before upgrading OpenEMR to 8.4
What drives the cost of an OpenEMR 8.4 upgrade and what does a fixed-scope quote cover?
The main cost drivers are the number of installations (single site, multisite or Docker), the size of the database, the number of custom modules and core edits, the number of interfaces and reports that must be retested, and how many clinical and billing workflows need sign-off. A fixed-scope engagement is agreed in writing before work starts and states the scope, deliverables and timeline. Ask whether the quote includes the database server upgrade, the PHP 8.3 change, a verified backup and restore test, retesting of reports and interfaces, and a documented rollback plan. Ongoing support, upgrades and testing after go-live are separate retainers, so ask for them as their own line item.
Can our own team upgrade OpenEMR to 8.4 without outside help?
A team with Linux, web server, PHP and database administration experience can perform the upgrade, and the decision usually depends on capacity and risk rather than skill alone. The work needs someone who can upgrade and restore a MariaDB or MySQL server, change the PHP runtime, run the OpenEMR upgrade steps and build a staging copy of production data. Clinical and billing staff must own sign-off on their workflows. Before you decide, ask whether your team has recently completed a full restore test and whether it can run the rehearsal without pulling people away from patient care. If either answer is no, a fixed-scope partner can take on that part.
How long does the OpenEMR 8.4 upgrade take?
This page does not publish a duration, and the length depends on the drivers listed in your scope: the number of installations, database size, custom modules, interface count, whether a staging environment exists and how long sign-off takes. OpenEMR 8.4.0 was released on September 13, 2026 and 8.4.1 followed on September 20, 2026, so plan against the latest patch and confirm it in the release notes before scheduling. Ask any provider for a timeline with named milestones: staging rehearsal, production change window, retesting and post-upgrade monitoring. A timeline without those milestones is hard to check against the work.
What does our practice have to provide for the upgrade?
The upgrade depends on decisions and access that only the practice can give. Plan for these inputs before the work begins:
- Named clinical and billing approvers who will test and sign off on their workflows.
- A copy of production data for staging, handled under your privacy and access rules.
- An inventory of custom modules, core edits, interfaces and scheduled reports.
- A change window agreed with clinical operations, and a point of contact who can accept or reject the cutover.
Clinical sign-off should cover encounters, orders, scheduling and the patient portal. Billing sign-off should cover charge capture, claim generation, remittance posting and patient statements.
Do we have to upgrade the database before upgrading OpenEMR?
Yes, the database server should meet the 8.4 minimum before OpenEMR 8.4 runs against it, so the server is upgraded first and the application second. The 8.4 release notes set the exact MariaDB 10.11 and MySQL 8.4 minimums, and you should confirm them there before choosing a target version. MariaDB 10.11 is one of the maintained long-term release lines, alongside newer LTS releases, according to the MariaDB Foundation. Rehearse the server upgrade on a staging copy, take a verified backup, and run OpenEMR against the upgraded server before you change the application version in production. Record the server version in your change log.
Does changing the database server affect ONC certification?
This page cannot settle that question, and you should confirm it before the change. The OpenEMR site states that the project is ONC certified and told users to upgrade to version 8 by March 1, 2026 to keep their certification active. Check the certification and certified-configuration guidance for the 8.x line to see whether the database server version is part of the configuration you must keep. DeployOpen prepares systems and evidence for compliance assessments but does not issue certifications, so the certifying body or your assessor must confirm the outcome. Document the server change, the date and the testing you performed as part of your evidence.
How do we test reports and interfaces after the database change?
Test against a staging copy that has been upgraded to the same database server and PHP version as production. Build a test list with three parts: every scheduled report and export, every interface (labs, imaging, clearinghouse, portal and any FHIR clients), and each billing and clinical workflow that depends on data types or collation. Compare outputs from the old and new systems for the same patients and date ranges. OpenEMR 8.x releases require PHP 8.3 or later, so confirm that your PHP extensions and any third-party modules run on that version. Keep the test results as evidence for the change record.
How DeployOpen scopes and delivers an OpenEMR 8.4 upgrade
DeployOpen plans the move from OpenEMR 8.2 or 8.3 to 8.4 as a written, fixed-scope engagement inside your own infrastructure. The database server upgrade, PHP 8.3 and report and interface testing are scoped and delivered as one controlled change.
How we scope
- Inventory your current OpenEMR version, database server version, PHP version and hosting model before any quote is written.
- Confirm which MariaDB 10.11 or MySQL 8.4 target applies to your environment and who owns each server.
- Agree in writing which reports, interfaces, modules and custom code are in scope for regression testing.
How we build
- Upgrade the database server first in a staging copy, then verify OpenEMR connects and the schema migrates cleanly.
- Move the web tier to PHP 8.3 and confirm extensions and configuration match the new runtime.
- Run scheduled reports, billing exports and HL7 or FHIR interfaces against the upgraded stack and record the results.
How we hand over
- Deliver a runbook covering the database upgrade order, PHP changes, rollback steps and the backup taken before cutover.
- Provide a test record listing each report and interface checked, with pass or fail status and fixes applied.
- Document the final versions of OpenEMR, database server and PHP so your compliance and security teams can review them.
How we support
- Confirm with your team which post-upgrade support is needed, such as patch monitoring after security releases.
- Offer ongoing support, upgrades and continuous testing as a retainer, priced separately from the upgrade scope.
- Review the next OpenEMR release notes and database requirements with you before any future change window is planned.

