Upgrading PHP for SuiteCRM 8.10

SuiteCRM 8.10 runs on PHP 8.2, 8.3 and 8.4, and SuiteCRM 8.7 and later no longer accept PHP 7.4. This page covers how to move your server to a supported PHP version in the right order, with checks and rollback points.

On this page

Upgrade PHP for SuiteCRM 8.10 before the application version moves

SuiteCRM 8.10 supports PHP 8.2, 8.3 and 8.4. From SuiteCRM 8.7.0 the minimum PHP version is 8.1, and PHP 7.4 no longer works. If your self-hosted server runs PHP 7.4 or 8.0, the PHP runtime has to move before or alongside the SuiteCRM change, and you should plan that move as its own piece of work. PHP is a separate change from the SuiteCRM upgrade because the two fail in different ways. A PHP mismatch can stop the application from starting, break extensions that SuiteCRM loads, or surface as errors that look like application bugs. Keeping the two changes apart lets you confirm each one on its own. Check which SuiteCRM 8 line you are on today. Older 8.x installs may need a stepping stone release before 8.10, which the sibling upgrade page covers, and the PHP version you pick must work with that intermediate release as well as the final target.

Before you choose a target PHP version, open the SuiteCRM 8 compatibility matrix and confirm the PHP row for the exact SuiteCRM release you will install, not only the headline 8.10 line. Record the Apache, MariaDB or MySQL versions listed beside it, because the web server and database have their own compatibility limits and may force a different order of changes. Also confirm the operating system support statement, which covers Linux, Unix and macOS. Then compare that list with your distribution's packaged PHP versions, your vendor's support dates for PHP, and the repositories you rely on for PHP packages. A supported PHP version on paper is not useful if your package source cannot deliver the patch releases you need. Ask whoever owns the server to confirm which PHP build and php.ini files are actually loaded, since command-line and web PHP can differ.

What changes in PHP support across SuiteCRM 8.7 to 8.10

This table compares the PHP changes that SuiteCRM 8.7 and 8.10 introduced, with the impact of each on a self-hosted server. Read it as a checklist: find the release that matches your current version, then confirm the PHP version your server runs before scheduling the upgrade work.

ChangeImpactAction needed
SuiteCRM 8.7.0 sets PHP 8.1 as the minimumServers still on PHP 7.4 cannot run SuiteCRM 8.7 or laterMove PHP to at least 8.1 before the SuiteCRM 8.7 step, and test on staging first
PHP 7.4 no longer works from SuiteCRM 8.7Any instance that skips PHP changes will fail after the application upgradeConfirm the PHP version with the command line before starting any SuiteCRM file changes
SuiteCRM 8.10 supports PHP 8.2, 8.3 and 8.4Your target PHP version must fall inside this rangeChoose a PHP version in the 8.2 to 8.4 range and verify it in your own environment
SuiteCRM 8.10 merges SuiteCRM 7.15, which adds PHP 8.4 supportPHP 8.4 becomes available for SuiteCRM 8.10 through the merged 7.15 codeTest PHP 8.4 on staging, including extensions, before choosing it for production
Other platform requirements in the release notesWeb server, database and other requirements can change between releasesCheck the 8.7 and 8.10 release notes for other requirement changes, then confirm them against the compatibility matrix before scheduling work

Which PHP version to target for SuiteCRM 8.10

A server still on PHP 7.4 cannot run SuiteCRM 8.7 or later, because from SuiteCRM 8.7.0 the minimum PHP version is 8.1 and PHP 7.4 no longer works. Your first step is to move PHP before you move SuiteCRM, and that means planning a PHP change on a server that still runs an older SuiteCRM release. Expect the PHP change to be a separate, testable step with its own rollback point, not a side effect of the application upgrade.

  • Check the running SuiteCRM version first: Confirm which 8.x release is installed, since the PHP step depends on whether you can stay on an older release while you change PHP.
  • Test the application on PHP 8.1 or newer in staging: Run login, record views, workflows and any custom code on a copy of the server before touching production.
  • Review extensions for each target: Confirm that every PHP extension SuiteCRM and your customizations need is available for the PHP version you choose.
  • Confirm distribution packaging: Check whether your operating system repository provides the PHP version you need, or whether you must use a supported third-party package source.
  • Keep a full backup before the switch: Back up files and the database so a failed PHP change can be reversed.

Before you start, confirm the exact SuiteCRM and PHP versions against the SuiteCRM 8 compatibility matrix.

What to prepare before changing PHP on a SuiteCRM server

These six items set up a PHP change that can be rolled back and checked. Each one removes a common reason a PHP upgrade stalls or breaks a SuiteCRM instance, and together they give the change owner the evidence to approve the window.

Take a full file and database backup

Before any PHP package is touched, take a complete copy of the SuiteCRM file tree and a full database dump, and confirm the restore works on a separate host. Store the backup outside the server being changed. A PHP switch rarely corrupts data, but a failed extension install or a partial package upgrade can leave the application unable to boot, and a tested restore is the only fast way back.

Inventory PHP extensions and custom code

List every PHP extension the current runtime loads, then mark which ones SuiteCRM and your custom modules, extensions or scripts call. Compare that list against the extensions your target PHP version ships or can install from your OS packages. Record any extension that is compiled locally or pinned to an older version, because it is the most likely item to block the change.

Build a staging instance that matches production

Create a staging server with the same operating system, Apache configuration, PHP version, extensions and database engine as production, then restore a recent production backup into it. Run the full change on staging first. Staging only tells you something if its PHP and web server stack matches production closely enough to expose the same errors.

Confirm Apache and database versions for 8.10

Check that the web server is Apache 2.4 and that the database is one of the MariaDB or MySQL releases the SuiteCRM 8.10 compatibility matrix lists. If the database is outside that list, plan its upgrade as a separate change, because the PHP and database steps interact during the first login and schema checks. Read the matrix for the exact supported versions before you schedule anything.

Compatibility matrix

Review public/legacy and migration-touched files

Migrations documented by SuiteCRM may remove non-core files under the public/legacy folder, so review any custom files stored there before running a version change. Copy those files out, note which ones are needed, and confirm they are kept under version control. Do not assume a PHP change alone will touch this folder, because the SuiteCRM version step that follows it may.

Name an owner for the change window

Assign one person who can approve the change window, halt the change, and decide on rollback. This owner should hold the signed-off backup, staging results and extension inventory before approval, and should confirm who is available during the window. Without a named owner, a failed check often waits for a decision that nobody has the authority to make.

The order to change PHP and SuiteCRM versions

This sequence moves a self-hosted SuiteCRM server to a supported PHP version and target SuiteCRM release in an order where every stage has a rollback point, so production changes only happen after staging has been proven.

  1. Confirm current SuiteCRM and PHP versions

    Record the SuiteCRM version, the PHP version the web server currently runs, the Apache, MariaDB or MySQL versions, and the PHP extensions loaded for the application. Your administrator or platform team does this on the production server, and the output is a written baseline that names the current versions and the target SuiteCRM release. This is your first rollback point: if the baseline is incomplete, nothing else in the sequence should start.

  2. Check the target pairing in the compatibility matrix

    Compare the target SuiteCRM release with the compatibility matrix. For SuiteCRM 8.10, the supported PHP range is 8.2, 8.3 and 8.4, and PHP 8.1 is the minimum from SuiteCRM 8.7. Confirm that the Apache, database and operating system versions on your server are also listed. If the current SuiteCRM instance is older than the target, confirm with the SuiteCRM upgrade guide for that version whether it must step through an intermediate release. The output is a signed-off pairing with no unsupported component.

  3. Rehearse the full change on staging

    Build or refresh a staging copy of the production application, files and database, with the same PHP extensions, web server settings and cron configuration. Run the complete sequence on staging first, recording every command, error and time taken. The output is a rehearsal log that the change owner reviews before production is scheduled. Do not skip this step even if the staging environment is only approximately like production, because the differences are where failures usually come from.

  4. Back up files and database before any change

    Take a full backup of the SuiteCRM file tree, including custom code and the public/legacy folder, and a full database dump, then test that the backup restores on a separate host. The SuiteCRM migration documentation advises backing up both files and database before changes, and the migration may remove non-core files under public/legacy. Store the backup outside the server being changed. This backup is the rollback point for the whole sequence, so record its location, checksum and restore time.

  5. Install target PHP beside the current version

    Install the target PHP release with the required extensions alongside the current PHP version, without yet removing or disabling the old one. Confirm that each extension SuiteCRM needs loads under the new binary using a version check and a module list, and that the PHP configuration matches the current limits for upload size, memory and execution time. Keep the existing PHP service running so the server can return to the old version immediately. The output is a verified new PHP installation and a documented rollback point: point the web server back to the old PHP socket.

  6. Switch the PHP handler and run the SuiteCRM change on staging

    On staging only, point the web server's PHP handler at the new version and reload the server. Then run the SuiteCRM version change with the console commands required by the upgrade guide for the target release, including any database migration and finalize steps. Review the command output for errors and warnings and clear caches as the guide directs. The rollback point at this stage is the staging snapshot taken before the switch, so you can repeat the attempt cleanly. Record which command completed and any manual fixes required.

  7. Verify logins, scheduled jobs and key modules

    Test sign-in with a standard user, an administrator and any account type that uses LDAP or SAML, then confirm that the scheduled jobs run under cron or the scheduler entrypoint your target release requires. Open the modules your teams use daily, create and edit a record in each, and check that custom views and workflows still behave. Review the web server and SuiteCRM logs for errors after the test. The output is a signed test record. If any check fails, return to the staging backup and do not proceed to production.

  8. Repeat in production with a rollback point at each stage

    Schedule a maintenance window agreed with the business owners, then repeat the proven sequence in production in the same order: fresh backup, new PHP installed beside the old, handler switch, SuiteCRM version change, then verification. Record a rollback point after each stage, meaning the backup, the retained old PHP service, and the previous handler configuration. Treat each failed check as a reason to revert to the last recorded point rather than fix forward under pressure. Confirm all steps against the SuiteCRM upgrade guide for the version in use before the window opens.

Rehearsal and rollback gates sit between the PHP switch and the SuiteCRM change

The path starts with the current SuiteCRM and PHP versions, checked against the SuiteCRM 8 compatibility matrix. If the target PHP version is in the supported range, the change is rehearsed on staging, then the files and database are backed up before anything moves in production. The PHP switch comes first, followed by the SuiteCRM change. Verification decides the outcome: a pass leads to production sign-off, and a failure takes the rollback branch to the previous PHP version, with the backup as the restore point.

The decision path with the rollback branch to the previous PHP version.

What makes a PHP upgrade for SuiteCRM take longer

This table lists the factors that most often lengthen a PHP change on a SuiteCRM 8 server, why each one adds work, and what to check before you ask for a quote. Read each row against your own environment, since a large custom code base and a missing staging copy usually matter more than the PHP version step itself. Ask any partner for a written estimate that is built from these drivers.

DriverWhy it adds effortWhat to check
Custom modulesEach custom module may rely on PHP behavior that changed between PHP 8.2 and 8.4, and older modules often predate current SuiteCRM 8 conventions.Count modules, note their age and last tested release, and list which ones your business depends on daily.
Logic hooks and extensionsLogic hooks and extensions run PHP code inside record saves and workflows, so deprecation warnings can surface there first and fail silently.List every hook and extension, its owner and its trigger, then run each one on the target PHP version in staging.
PHP extensions and third-party librariesEach extension and Composer library must be present and compatible with the target PHP release, and a missing one blocks the change entirely.Compare the installed extension list and library versions with the SuiteCRM 8.10 compatibility matrix and each vendor's stated PHP support.
Database and file store sizeLarge tables and large attachment stores lengthen backup, restore and rehearsal runs, and they increase the time a rollback takes if one is needed.Measure database size, largest tables and file store size, and time a full backup and restore in staging.
Integrations and email or SAML connectionsCalendar, search, mail and single sign-on connections each have their own behavior under a new PHP version and need a separate retest.Inventory every connection, its owner and its test steps, including SAML logout behavior noted for SuiteCRM 8.7.0 and later.
Server layoutA single host, separate web and worker hosts, or containers each change the number of places PHP must be updated and verified, and the order of restarts.Document which hosts run the web server, scheduler and worker processes, and where PHP runs on each.
Staging environmentWithout a staging copy that matches production in PHP, extensions, data and configuration, problems appear first in live use and testing takes longer.Confirm whether staging matches production in versions, data copy age and customizations, and who signs off the test results.

How to test a PHP change and roll it back

Test the PHP change against the functions your users and integrations depend on before you call it finished. Start with login through the method you actually run: local accounts, LDAP, or SAML if it is configured. Then check scheduled jobs and the background worker, because a PHP change can stop cron-driven tasks or the Messenger worker without any visible error in the browser. Send and receive a test email through each configured mailbox, open a record with file attachments and upload and download a file, and run the custom views, workflows and reports your teams use daily. Finally, call each API endpoint that an integration relies on, using the same credentials and payloads the integration sends in production. Confirm the worker and scheduler setup against the operations guidance for your installation rather than assuming it survived the change.

Plan two rollback points before the change starts. The first is a PHP rollback: keep the previous PHP version installed and selectable at the web server and command line, so you can switch back in minutes if the new version fails. The second is a full restore: a server snapshot or a verified database and file backup taken immediately before the change. Confirm that the restore has been rehearsed on a staging copy and that you know how long it takes. Record each test with the date, the PHP version, the SuiteCRM version, the tester, the result and any defect reference, so that a rollback decision rests on evidence. Ask your team to confirm the exact PHP packages and paths in your environment, since these vary by operating system.

Treat a PHP rollback and a SuiteCRM rollback as separate decisions. Switching PHP back does not reverse a SuiteCRM version change, and a SuiteCRM upgrade may already have run database changes that the older code cannot read. If you change both in one window, the only reliable way back is the full restore, so plan that restore as the rollback for the combined change. If you change PHP first and SuiteCRM later, keep the PHP rollback valid until the SuiteCRM step is verified. Before you approve either change, confirm the sequence and rollback order with the SuiteCRM 8.10 release notes and your own staging results.

Questions buyers ask before upgrading PHP for SuiteCRM 8.10

What does a PHP upgrade for SuiteCRM 8.10 cost?

The cost comes from the people and environment work, not from PHP itself, which is free. Costs fall into a one-time group: assessing the current PHP version and extensions, building or cloning a staging host, testing the application, fixing extension incompatibilities, and cutting over production. Recurring costs appear when you keep PHP on a supported branch over time, since each SuiteCRM minor release and each PHP branch change needs a fresh compatibility check. A fixed-scope quote should itemize the staging environment, extension review, test cases, cutover window and rollback plan separately, and state which items are one-time and which are retainer work. DeployOpen does not publish prices, so ask for a written scope and quote before work begins.

How long does a SuiteCRM PHP upgrade take?

Duration depends on how many servers run SuiteCRM, how many PHP extensions and custom modules you rely on, and how quickly your team can approve a staging result. A single server with standard extensions and no custom code is the shortest case. Custom extensions, separate web and worker hosts, a shared PHP-FPM pool, and a database change running alongside the PHP change all lengthen the schedule. Approval windows and change freezes also set the pace more than the technical steps do. Ask for a timeline that lists each gate, including staging sign-off and the production change window, and confirm the assumptions behind it in writing.

What does our team need to provide for the PHP upgrade?

The work needs four things from your side. First, access to the current server, the PHP configuration and the database, through an approved change path. Second, a staging host that matches production closely enough to test real workflows, with its own copy of the database and files. Third, a named approver who can accept or reject the staging results and the production change. Fourth, application knowledge: someone who knows the custom modules, integrations, scheduled jobs and email settings, and can confirm which behaviors matter. Write these into the scope so that delays caused by missing access or sign-off are visible early.

Can an in-house SuiteCRM admin handle the PHP upgrade alone?

An experienced Linux administrator with SuiteCRM knowledge can often handle a simple single-server upgrade alone. The harder part is confirming that the application still works after the change, which needs test cases built from your real workflows and a second person to review results. Consider doing it in-house if you have a staging host, a tested backup, and time to run a full rehearsal. Bring in a partner when there are custom extensions, multiple servers, a database change in the same window, or no one available to own the rollback. Either way, decide ownership before the work starts.

Do PHP 7.4 servers need the SuiteCRM 7 path or an earlier 8.x step first?

PHP 7.4 cannot run SuiteCRM 8.7 or later, because from SuiteCRM 8.7.0 the minimum PHP version is 8.1. A server on PHP 7.4 running an older SuiteCRM 8 release therefore needs a sequence: move PHP to a version the current SuiteCRM release accepts, and bring SuiteCRM to a release that supports that PHP version. The 8.2.x stepping stone applies to older installs that must move through intermediate releases. If your installation is actually SuiteCRM 7, it is a migration to SuiteCRM 8, not a PHP change, so follow the SuiteCRM 7 path first. Confirm your current release before choosing the sequence.

What should a PHP upgrade quote include?

A useful quote lists the scope in writing, so you can compare it with your own estimate. It should name the servers and environments in scope, the current and target PHP versions, the SuiteCRM release, and the extension list. It should describe the staging build and test cases, the number of test rounds included, the cutover plan, the rollback method, and the handover documents. It should separate one-time work from any ongoing support or retainer. Ask what is excluded, such as custom code changes, database upgrades, or hosting changes, and what triggers a change request. Ask for the assumptions behind the schedule.

How does the PHP upgrade interact with the MariaDB or MySQL upgrade?

PHP and the database are separate components, but SuiteCRM 8.10 must run on a supported combination of both. The SuiteCRM 8.10 compatibility matrix lists the supported PHP versions, Apache 2.4, the MariaDB releases and the MySQL releases. Changing both in one window multiplies the test cases and makes it harder to tell which change caused a fault. A common approach is to change one component, verify it, then change the other, though the right order depends on your current versions and the SuiteCRM release you target. Check the compatibility matrix and the database upgrade plan before fixing the sequence.

What happens if the staging test fails?

A failed staging test stops the production change. The team records the failure, identifies whether the cause is PHP, an extension, a custom module or the test case itself, and decides on a fix. Fixes may require changing an extension, updating custom code, adjusting configuration, or moving to a different PHP patch version. Each fix is retested on staging before anyone schedules production. Your scope should state how many retest rounds are included and what happens when a fix needs new work. If the problem is in custom code, the fix may be a separate change request. Keep the production system unchanged until staging passes.

How DeployOpen scopes and delivers a SuiteCRM PHP upgrade

DeployOpen approaches Upgrading PHP for SuiteCRM 8.10 as a written, fixed-scope change to a server you control. We first confirm the current PHP, extension and SuiteCRM versions, then plan the order of changes, rehearse them on a staging copy and hand over the evidence your team needs to run the result.

How we scope

  • Inventory the current PHP version, enabled extensions, web server and database versions against the SuiteCRM 8.10 compatibility matrix.
  • Confirm the target PHP version within 8.2 to 8.4 and the SuiteCRM release path, including any stop at 8.7 or later for the PHP 8.1 floor.
  • Agree in writing which servers, environments and customizations are in scope, and what a rollback decision looks like.

How we build

  • Rebuild a staging copy of the production files and database, then run the PHP change and SuiteCRM upgrade steps there first.
  • Check required extensions and php.ini settings on each application and worker host, including the scheduler and Messenger worker processes.
  • Test login, key modules, cron jobs and email on staging, and record each failure with its fix before production.

How we hand over

  • Deliver a runbook listing the exact change order, commands, configuration files touched and the verification checks for each step.
  • Document the backups taken before the change and the restore steps tested during rehearsal.
  • Provide a short operations note on which PHP version is supported, so your team can plan the next change with the same method.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer if your team wants DeployOpen to handle later SuiteCRM and PHP changes.
  • Review each new SuiteCRM minor or patch release against your scope before it reaches production, if you choose that service.
  • Ask for the support terms, response expectations and any SLA in the written quote, since these are agreed per engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.