Upgrading OpenEMR 7.0 to 8.0: what changes and the supported path
The upgrade runs through the 7.0.4 to 8.0.0 path, with the database upgrade and PHP and database prerequisites checked before anything is touched. Many practices and health systems on a 7.0.x install are here because their certification depends on it. The OpenEMR website told users to upgrade to version 8 by March 1, 2026 to keep their system's active certification, so a 7.0.x system that has not moved is already past that date. The first decision is which 8.x release to target. The 8.x line has moved on since 8.0.0, and 8.4.1 was released on September 20, 2026, following 8.4.0 on September 13, 2026 and 8.3.0 on August 18, 2026. Both 8.4.0 and 8.3.0 fixed security vulnerabilities in FHIR APIs, the patient portal, billing, the fax and SMS module and the fee sheet, so a team that stops at 8.0.0 will carry those fixes as open risk.
Confirm the exact steps and minimum versions against the 8.0.0 release notes and the upgrade documentation for your install type before scheduling work. Recent releases require PHP 8.3 or later and a MySQL- or MariaDB-compatible database, but the minimum database versions for the release you choose are the detail to verify, because they change between lines. Check the PHP version, the database server version, the web server and any extensions the release lists, and record the current values of your sqlconf.php and site configuration. Decide whether the database server is upgraded before or after the application, since the release notes will determine the order. Run the upgrade against a restored copy of production first, then compare reports, interfaces and user logins on the copy before cutting over.
Plan for the work that is not in the core upgrade. Inventory custom modules, template edits and third-party modules, and ask each module developer for a version that supports the 8.x line before the upgrade window opens. Confirm the target release's Docker or package upgrade route with your vendor or internal team, since container and multisite installs follow their own sequence. Keep a tested backup and a rollback plan, and identify who signs off on the certification settings after the upgrade. Ask any partner for a written scope that names the install type, the target release, the test plan and the cutover steps, so the quote reflects the work your system actually needs.
Which changes in the 8.x line affect a 7.0 install
This table compares the main changes in the 8.x line against a 7.0.x install, showing what each change means for the system and what the team should do. Read it as a checklist: any row marked for action needs an owner and a test before the upgrade window. The main takeaway is that the PHP and database minimums and the 8.3.0 and 8.4.0 security fixes shape the upgrade path more than the feature list does.
| Change in 8.x | Impact on a 7.0 install | Action needed |
|---|---|---|
| Move to 8.x as the certified line | OpenEMR's site told users to upgrade to version 8 by March 1, 2026 to keep certification active, so a 7.0 install is outside the line the project points certified users to. | Confirm the current certification position with the project, then plan the 7.0.4 to 8.0.0 step as the first move. |
| PHP 8.3 or later on recent releases | Recent releases require PHP 8.3 or later, so a 7.0 host on an older PHP runtime cannot take the newer code without a runtime change. | Inventory the PHP version and extensions, then test on PHP 8.3 in staging. Confirm the exact PHP minimum for 8.0.0 in its release notes. |
| MySQL or MariaDB compatible database | Recent releases run on a MySQL- or MariaDB-compatible database, so the database server version and the schema upgrade both change during the move. | Record the current server version, take a verified backup, and confirm the database minimums for 8.0.0 before changing the server. |
| Docker deployment options | The project offers Docker options, so a containerized 7.0 install must move by changing the image and keeping the sites volume intact. | Confirm that the sites data and any modules outside sites persist across the image change before running it. |
| Security fixes in 8.3.0 and 8.4.0 (FHIR APIs) | Both releases fixed security vulnerabilities in FHIR APIs, so 7.0 systems with FHIR access carry exposure that later 8.x releases address. | Review FHIR client registrations and scopes, then restrict or disable unused API access during the transition. |
| Security fixes in 8.3.0 and 8.4.0 (patient portal and billing) | Fixes to the patient portal and billing modules mean a 7.0 install exposing either to patients or payers is carrying known issues. | Limit portal exposure during the window and test portal login and billing workflows after the upgrade. |
| Security fixes in 8.3.0 and 8.4.0 (fax, SMS and fee sheet) | The fax and SMS module and the fee sheet were patched, so any site using them should expect behavior and permission checks to differ after the move. | Retest fax, SMS and fee sheet entry with real user roles, and confirm which fixes ship in 8.0.0 versus later patches. |
| Deprecated settings and removed options | The facts supplied do not list specific 8.0.0 removals or deprecated settings, so a 7.0 config may carry options the new code ignores. | Compare the 7.0 Globals and sqlconf.php settings against the 8.0.0 release notes and document every change before testing. |
Why OpenEMR 8 matters for ONC certification
Staying on OpenEMR 7.0.x now leaves a certification gap that you must document. OpenEMR 7.0.0 was ONC certified on 7/19/22 as a 2015 Edition Base EHR, after testing by SLI concluded on 6/30/22. The OpenEMR project later told users to move to version 8 by March 1, 2026 to keep their system's active certification, as stated on the OpenEMR home page. A certification attaches to a specific product version and configuration, so an install that remains on 7.0.x is no longer running the product that was certified for the current period. The upgrade does not restore certification by itself, and DeployOpen does not grant or extend it. Only an accredited certification body can do that.
Treat the upgrade as the start of an evidence trail rather than a single technical task. Record the date your install moved from 7.0.x to 8.x, the version and build deployed, and the configuration in use at each point. Your compliance lead should also capture which certification criteria your practice relies on and which settings those criteria depend on. Confirm with the OpenEMR project and your certifying body whether 8.x is the version currently covered, which settings must be enabled to run it in a certified manner, and how a period of running an uncertified version should be described for your attestation or reporting obligations. Ask for those answers in writing before you schedule the cutover.
The certification question also shapes the order of work. Confirm the required settings in a test copy of your 8.x build first, then carry out the database and PHP changes covered elsewhere on this page, and rerun any checks that the certification scope relies on after the cutover. If your install runs custom or third-party modules, confirm with their developers that they are supported on the certified version, because a module that changes a certified workflow can affect the scope you document. Keep the pre-upgrade and post-upgrade records together so an assessor can follow the change from one version to the next.
What to back up and inventory before the OpenEMR 8.0 upgrade
A 7.0 install carries its state in three places: the database, the sites directory and the server stack around them. The cards below cover what to capture, test and verify before any upgrade step runs, so that a failed upgrade can be reversed and the upgraded system can be checked against the settings it had before.
Full database and file backup, restore-tested
Take a full database dump and a copy of the whole OpenEMR web root and sites directory, including the sites/default/documents tree and the sqlconf.php file for each site. A backup that has never been restored is not a backup, so restore it to a scratch host and confirm that you can log in, open a patient chart and view an uploaded document. Record who holds the copy and where it is stored, because the 8.0 upgrade is the step most likely to need a rollback.
Inventory of custom modules and core edits
List every custom module, template, form and any file changed inside the core OpenEMR tree on the 7.0 install. Compare the core files against the untouched 7.0.x release to find local edits, since in-place changes are overwritten or conflict during an upgrade. For each item, note whether a version compatible with 8.x exists, who maintains it and whether it has been tested on PHP 8.3 or later.
PHP, database and web server versions in use
Record the exact PHP version, the MySQL or MariaDB version, the web server and its version, and the operating system. Recent OpenEMR releases require PHP 8.3 or later and a MySQL- or MariaDB-compatible database, so any gap between your current stack and those minimums becomes a separate upgrade step to plan and test first. Check the release notes for the exact database minimum of the target version before you schedule the database server change.
OpenEMR releasesNon-production copy with real-shaped data
Build a staging copy from a recent production backup, with patient identifiers replaced according to your de-identification rules and with the same schema, modules, document counts and interfaces as production. Run the full 7.0 to 8.0 path on this copy first, including the in-app database upgrade and the per-site steps if you run multisite. Keep the staging host off any outbound interface, such as lab, billing or clearinghouse connections, so test traffic does not reach external parties.
Securing OpenEMR settings to re-verify
Document the current state of the controls in the Securing OpenEMR guide: HTTPS only with port 443 as the intended exposure, setup.php and other admin scripts removed after installation, and direct web access to sites/*/documents blocked. Also record MFA, password policy and the upload file white list. An upgrade can restore or replace web server configuration and file permissions, so capture each setting now and check it again on the upgraded system before returning it to users.
How the 7.0 to 8.0 upgrade moves through its phases
The upgrade starts with an inventory of the running 7.0.x install, custom modules and integrations, then checks PHP and database prerequisites before any change is made. A verified backup must be restored successfully in a test environment before the staging upgrade and the database upgrade run. Certified workflows and interfaces are then checked against the pre-upgrade baseline. If a check fails, the team returns to the verified backup rather than patching forward in production, and only a clean verification leads to cutover.
Phases of a 7.0.x to 8.0 upgrade, with the rollback branch to the verified backup.
How to run the OpenEMR 7.0 to 8.0 upgrade in order
This sequence moves a self-hosted OpenEMR 7.0.x install onto the 8.x line in a controlled order, with a check and a rollback point at each stage so the clinical team can sign off before the old system is retired.
Confirm the target release and its prerequisites
Before anything changes, record the current OpenEMR version, the PHP and database versions in use, and the 8.x release you intend to land on. Recent OpenEMR releases require PHP 8.3 or later and run on MySQL- or MariaDB-compatible databases, but the minimum versions for your chosen 8.x release must be confirmed in its upgrade notes in the OpenEMR releases list. The owner signs a short prerequisite record listing each version and its source. Done when every component has a confirmed target version written down.
Verify or upgrade PHP and the database first
Where the release notes require newer PHP or database server versions, bring those servers up to the required level on staging before touching the application. Run the application against the new runtime in a test copy and confirm it loads, connects to the database and completes a login. Keep the old runtime in place so you can revert the server layer independently. Done when the 7.0.x application runs correctly on the upgraded PHP and database stack in staging.
Take and test full backups
Take a consistent database dump and a copy of the sites directory, including documents, edi, era and letter_templates, and store both outside the application host. Restore the backup into a separate environment and confirm patient records, scheduled appointments and billing data open correctly. Restore testing is what makes the rollback point real. Done when a named person has restored the backup successfully and recorded the result.
Deploy the 8.x code to a staging copy
Build a staging environment from the production backup, not from a fresh install, so the data matches what users will see. Deploy the 8.x code using the method the release documentation specifies for your install type, whether source, Docker or package. Keep the old code tree intact so the staging rollback is a file swap. Done when the staging site serves the 8.x login page and reports the expected version in the application.
Run the in-application database upgrade
Run the database upgrade through the path the 8.x release documentation names, which is the application's own upgrade screen or command for your install type. Record the output and any errors, and do not run it twice without a fresh restore. Afterward, check that the schema version matches the release and that the application logs show no failed migrations. Done when the upgrade completes cleanly on staging and the result is logged.
Re-apply hardening settings and modules
Upgrades can change defaults, so compare your current security configuration against the 8.x settings. Re-check HTTPS-only access, confirm setup.php and other admin scripts are removed, confirm direct web access to sites/*/documents is blocked, and review MFA, password policy and the upload white list. Reinstall or update third-party modules only with versions that declare 8.x support. Done when a written checklist shows each control verified on staging.
Test logins, FHIR, interfaces, billing and reports
Run a scripted set of checks: user logins under each role, the FHIR endpoints and any SMART app connections, outbound and inbound interfaces, claim generation, remittance posting and the reports clinicians rely on. Compare outputs with the production system using the same test patients. Record each failure and its fix, then retest. Done when every test in the agreed list passes or has a documented, accepted exception.
Cut over and keep the old install until sign-off
Schedule the cutover with the clinical and billing owners, freeze changes to the 7.0.x system, take a final backup, and run the upgrade steps against production. Keep the 7.0.x code and its backup available until the business owners sign off on post-cutover checks. Monitor logs and user reports during the agreed observation period. Done when sign-off is recorded and the rollback window has closed.
How the path differs for Docker, package and multisite installs
A single server installed from source or a distribution package keeps OpenEMR's code, configuration and documents in one filesystem tree, so the upgrade happens in place on that host. The main work is replacing the application files, running the upgrade steps in the admin interface, and confirming that the PHP and database versions meet the 8.x requirements before you start. Because nothing is containerized, the server's PHP runtime and database server are your responsibility, and both must be updated on the same change window.
- Code location: Identify where the web root and
sqlconf.phplive, and keep a copy of both before replacing any files. - Runtime versions: Recent OpenEMR releases require PHP 8.3 or later, so confirm the PHP packages and extensions on the host before cutover.
- Database server: Check that your MySQL or MariaDB version meets the minimums for the target release, and plan any server upgrade ahead of the application change.
- Custom edits: Locate any core file changes, since in-place replacement overwrites them unless you reapply them.
- Rollback: Keep a full file and database backup so you can restore the previous state if the upgrade fails.
Confirm the target release's exact PHP and database requirements against the release notes before scheduling. For the step-by-step route, see the upgrade sibling topics.
In a Docker deployment, the upgrade means changing the image tag to point at the 8.x image and starting a new container against the same persistent storage. The application code comes from the image, so you do not replace files on the host, but the data you have stored outside the image must survive the switch. The sites volume holds per-site configuration and documents, and any modules you keep outside sites must be mounted or rebuilt into the new image or they will not carry over.
- Image tag: Change the tag deliberately rather than relying on automatic upgrades, and record the old tag so you can roll back.
- Sites volume: Confirm the volume holding the
sitesdirectory is mounted at the same path in the new container and that its contents are backed up first. - Modules outside sites: Inventory any custom or third-party modules stored outside the sites path and confirm each has an 8.x-compatible version.
- Database container or external database: Check whether the database runs in a container or on a separate host, since that changes the order of the database upgrade.
- Upgrade run: Complete the database upgrade and any per-site steps through the admin interface after the new container starts.
Confirm that the sites volume and external modules are present in the new container before you declare the upgrade complete. The sibling topic on Docker upgrades covers the full sequence.
A multisite install runs several OpenEMR sites from one codebase, and each site has its own database, configuration and document directories. The code can be upgraded once, but the upgrade is not complete until every site has been migrated and checked separately. A site that is skipped can run against a newer codebase with an older schema, which produces errors that appear only for the users of that site.
- Per-site inventory: List every site, its database and its directories for documents, edi, era and letter templates before starting.
- Per-site database upgrade: Run the database upgrade in the admin interface for each site, and record the result for each one.
- Per-site configuration: Check each site's
sqlconf.phpsettings after the code change, since they can differ between sites. - Access control: Run the access control upgrade for each site, because permissions are stored per site.
- Site-by-site verification: Test logins, scheduling and billing for each site, not only the first one you upgrade.
Do not sign off the upgrade until every site in the inventory shows a completed database upgrade and passed checks. The sibling topic on multisite upgrades sets out the per-site routine.
What makes an OpenEMR 8.0 upgrade take longer
This table lists the factors that most often expand a 7.0.x to 8.0 upgrade and states the direction each one moves effort. Use it to read a partner's scope: each row names what to ask them to confirm before agreeing a fixed scope. The main takeaway is that custom code, interfaces and server readiness usually matter more than the core upgrade steps themselves.
| Driver | Effect on effort | What to ask a partner to scope |
|---|---|---|
| Custom and third-party modules | Each module adds a compatibility check, a code review and possibly a vendor update. Effort rises with count and with modules that touch core tables or hooks. | Inventory of every module, its developer, whether an 8.x-compatible version exists, and who retests it |
| Core file edits | Edits made directly in core files are overwritten or conflict during upgrade and must be re-applied and reviewed by hand. | A diff of the installed tree against the stock 7.0.x release and a decision on each edit |
| Number of sites (multisite) | Each site has its own database, documents and configuration, so upgrade and verification repeat per site. | Site list, per-site database names, document and configuration locations, and whether sites share a database |
| Database and document store size | Larger schemas and document folders lengthen backup, migration and verification windows and raise restore-test effort. | Database size, document store size, backup format, and a timed restore test before the upgrade |
| PHP and database server state | Moving to PHP 8.3 or later and a supported MySQL or MariaDB version can require server rebuilds or package changes before OpenEMR itself is touched. | Current PHP and database versions, OS support status, and who owns server changes and rollback |
| Interfaces (FHIR, C-CDA, Direct, reporting) | Each interface needs its endpoints, certificates, client registrations and sample messages retested. FHIR clients and SMART apps may need reauthorization. | List of active interfaces, their owners, test messages or reports, and expected results for each |
| External integrations | Labs, clearinghouses, eligibility services, identity providers and fax or SMS gateways each need configuration checks against the new release. | Integration list with contacts, credentials handling and a test plan per integration |
| User roles and ACL configurations | Role-based permissions must be reviewed after upgrade and per-site ACL upgrades add work where sites differ. | Count of roles, custom ACL settings, and a test matrix covering clinical, billing and admin tasks |
| Staging environment | Without a staging copy, testing happens on production data, which slows approval and raises rollback risk. A staging copy with recent data shortens the cycle. | Whether staging exists, how current its data is, who refreshes it, and how production is restored if the upgrade fails |
How to test an OpenEMR 8.0 upgrade and roll back if it fails
Before the upgrade starts, the team must agree on two things: what counts as a passing test run, and who can call a rollback. Testing should cover the workflows the practice depends on every day: clinical charting, scheduling, billing and reporting. Build the test script from real working procedures, such as booking a new patient, encounter documentation with a fee sheet, claim generation and the standard reports used for payer or management review. Run each script against the upgraded test copy and compare outputs with the pre-upgrade system. Include the interfaces the practice uses, such as fax and SMS messaging, and the patient portal, since the 8.x security releases changed those areas.
Next, test the integration and access paths. Confirm that FHIR and SMART on FHIR logins still work for each registered app, including scopes and token handling, and that any bulk export used for a migration or analytics job still produces complete NDJSON output. Confirm login behavior as configured in the Administration Globals settings: LDAP or Active Directory authentication, Google Sign-In if enabled, password length, character rules, reuse limits and expiration. Then re-run the hardening checks from the Securing OpenEMR guide, including HTTPS-only access, removal of setup.php and the blocked web path to sites/*/documents. Record the results in a sign-off checklist so the decision is based on evidence, not on the upgrade appearing to load.
Rollback needs a defined point. Keep the backup taken and verified before the upgrade, together with the prior code and database, until the sign-off checklist is approved. Name one accountable owner, usually the system owner with clinical and compliance input, who can order a rollback, and set the criteria in advance, such as failed billing output or broken external access. Decide how long the old install stays available after go-live and who confirms that period has ended. Confirm with your hosting or Docker setup how the previous image and data are restored, because a rollback that has not been rehearsed is a risk in itself.
What buyers ask before hiring help for an OpenEMR 8.0 upgrade
What drives the cost of an OpenEMR 7.0 to 8.0 upgrade, and what should a written scope include?
The cost follows the amount of work the environment needs, not the version number alone. The main drivers are the number of sites or Docker stacks, the number of custom modules and core edits, the size and age of the database, how many interfaces and reports must be retested, and whether the PHP and database servers also need replacing. A written scope should name the starting version, the target release, the environments covered (staging and production), the database and PHP changes, the third-party modules in scope, the test cases and who signs them off, the backup and rollback method, and the handover documents. Ask for the quote to separate one-time upgrade work from any recurring support or retesting after the upgrade.
How long does an OpenEMR upgrade take, and what changes the timeline?
The duration depends on the environment more than on the release notes. Timing is shaped by how many installations are involved, whether a multisite install must upgrade each site separately, how much custom code must be reviewed, whether the database server must be upgraded first, how quickly the practice can provide test cases and approvals, and how long a staging copy takes to build and validate. Scheduling also matters for clinical operations, since a production cutover usually needs a window agreed with clinical and billing staff. Ask any provider to state the assumptions behind its timeline, and confirm them against your own inventory before accepting a date.
What does the upgrade need from our own team?
The work needs access, a realistic staging copy and decisions from people who know the clinical and billing workflows. In practice this means administrator access to the server or container host, database credentials with rights to back up and alter the schema, a copy of the production database and documents directories moved to staging, and a named owner who can approve test cases. Clinical and billing staff should write or confirm the test cases for scheduling, encounters, billing, interfaces and reports, and sign off each result. Plan for their time during testing, because a technical upgrade that passes system checks can still fail a workflow that only a clinician or biller would notice.
Can our internal IT team upgrade OpenEMR without a partner?
Yes, many teams upgrade OpenEMR in house, provided they have the skills and time to follow the version-specific steps, manage the database and PHP changes, test thoroughly and document the result. The questions to answer honestly are whether someone has done a database server upgrade with a tested backup, whether custom modules and core edits are inventoried, whether a staging environment exists, and whether the team can run structured tests before cutover. If any of those are missing, a partner can cover the gaps or help build the plan. Either way, the practice remains responsible for its own patient data and for approving the upgraded system.
Does upgrading to OpenEMR 8.0 change our certification status?
Certification is granted by an accredited body, not by the upgrade itself or by DeployOpen. The OpenEMR project has stated that users were asked to move to version 8 by March 1, 2026 to keep their system's active certification, and that 7.0.0 was certified as a 2015 Edition Base EHR. Before upgrading, confirm with the certifying body and your own compliance lead how your certification applies to the version you run, what evidence you must keep, and whether any settings must be changed to operate the system in a certified manner. DeployOpen can prepare systems and evidence for a compliance assessment, but it does not issue certifications or attestations.
What should we ask about rollback and backups before the upgrade starts?
Ask how the provider will restore the system if the upgrade fails after cutover. A workable plan includes a full backup of the database and the documents, edi, era and letter_templates directories (and the sites directory on multisite installs), a tested restore procedure, a defined decision point for rollback, and a record of the exact versions of PHP, the database and the container images before the change. Ask whether the rollback has been rehearsed on staging, how long a restore is expected to take in your environment, and who makes the call. Rollback is harder once the database schema has changed, so confirm that the database backup is taken and verified before any upgrade step runs.
What post-upgrade support should we expect, and is it included?
Support after the upgrade should be written into the scope, not assumed. Ask whether the provider covers defect fixes during a stabilization period, how interface and report issues are reported and prioritized, whether patch releases will be applied and tested, and what handover material you receive, such as the updated configuration record, the module inventory and the test evidence. Ongoing upgrades, patching and continuous testing are available as retainers, and those costs recur. Ask for the post-upgrade support terms as a separate line in the quote so you can compare them against running the system with your own staff.
How DeployOpen scopes, delivers and supports the upgrade
DeployOpen plans the move from OpenEMR 7.0.x to the 8.x line as a written, fixed-scope engagement inside your own infrastructure. The work follows the same arc on every engagement: agree scope, build and test the upgrade in a copy of your environment, hand over documented results, then offer ongoing support if you want it.
How we scope
- Inventory your current 7.0.x version, PHP and database versions, hosting model and any Docker or multisite layout before quoting.
- List every third-party module, custom form and core edit that must survive the move, and confirm which module developers will supply 8.x-compatible versions.
- Agree in writing which systems, interfaces and reports are in scope, and which testing your clinical and billing staff will perform.
How we build
- Stand up a staging copy of your OpenEMR, database and web tier that mirrors production, then run the 7.0.4 to 8.0.0 path there first.
- Upgrade or replace the database server and PHP runtime to the versions the 8.x release requires before running the application upgrade.
- Test logins, patient portal, billing, interfaces and custom modules against a backup restored into staging, and record each result.
How we hand over
- Deliver a written runbook covering the exact upgrade steps, rollback points and the backup taken before cutover.
- Document configuration changes, module versions and the settings your compliance team needs to review after the upgrade.
- Walk your administrators through the post-upgrade checks and the sign-off evidence kept for your records.
How we support
- Offer a retainer for ongoing support after cutover, covering questions about the upgrade and issues found during the first production period.
- Plan later work such as patch releases and the next major version as a separate written scope, so each change is reviewed before it runs.
- Ask us to confirm which support scope and response terms apply before signing, since these are set in each agreement rather than fixed here.

