Does a PHP upgrade today add post-quantum algorithms?
A team running PHP 8.x behind TLS, certificates and signed tokens has to decide what to change, and the first question is whether a routine upgrade adds post-quantum algorithms. As of 3 December 2026, the PHP manual pages checked for the OpenSSL extension, the SSL context options and the sodium extension document no ML-KEM, ML-DSA or SLH-DSA functions, constants or options. php-src issue #22862, Add Post-Quantum Cryptography Support, is open with no maintainer plan. Upgrading PHP alone therefore does not give the application these algorithms from the core project.
Engineers who own PHP builds, TLS settings and the stream and openssl configuration need to record this result before planning work. Vendor-risk reviewers recording the status of a PHP-based product should note the date of the check and the absence of a published plan. Note also that PHP 8.2 security support ends 31 December 2026, while 8.3 through 8.6 are listed as supported on the supported-versions page. Teams on 8.2 face a version decision in the same window as any post-quantum planning.
What to confirm in your own environment is which PHP version and build you run, and whether the OpenSSL library linked to it is one that exposes the algorithms you need. The manual describes the OpenSSL extension as a binding to the OpenSSL library and lists many library features the PHP module does not yet support, so a newer OpenSSL does not automatically reach PHP code. Check openssl_get_curve_names() and the algorithms available on your build rather than assuming them. A third-party extension, ext-pqcrypto, exists outside PHP core. Its repository shows no published releases as of 3 December 2026, and its author has said it has not been audited and should not yet go into production.
Upgrade components by PHP version, extension and source date
This table lists each PHP component an upgrade touches, what applies to it, what does not, and the PHP manual or support page each fact comes from. Read it as an inventory of where to check the build, the runtime and the extensions, and note the dates, since branch support and manual text can change.
| Component | What applies | What does not apply | Source and date |
|---|---|---|---|
| PHP 8.2 branch | Listed as supported. Security support ends 31 December 2026. | Does not receive support after 31 December 2026. | PHP supported versions, checked 3 December 2026 |
| PHP 8.3, 8.4 and 8.5 branches | Listed as supported on php.net. | No end date is given in the facts for these branches. | PHP supported versions, checked 3 December 2026 |
| PHP 8.6 branch | Listed as supported, released 19 November 2026. | No upgrade path or post-quantum algorithm support is stated for this branch. | PHP supported versions, checked 3 December 2026 |
| OpenSSL extension | A binding to the OpenSSL library for signing, verification, digests and TLS streams. Its behavior depends on the linked OpenSSL version. | The manual says many OpenSSL features are not yet supported by the PHP module. | PHP manual, OpenSSL book, checked 3 December 2026 |
| Sodium extension | Provides Ed25519 signatures, public-key encryption, key exchange and Argon2 password hashing. | The manual documents no ML-KEM, ML-DSA or SLH-DSA functions. | PHP manual, Sodium, checked 3 December 2026 |
| OpenSSL 3.0.0 on Windows | Used by default from PHP 8.2.0 on Windows. Legacy algorithms such as bf-cbc, rc4 and des-ecb are unavailable unless the legacy provider is loaded. | Does not apply to builds on other platforms that link a different OpenSSL. | PHP manual, OpenSSL installation, checked 3 December 2026 |
| --with-system-ciphers build option | Makes PHP use the system cipher list instead of its hard-coded default. | Not set by default. Confirm the build flags in your own environment. | PHP manual, OpenSSL installation, checked 3 December 2026 |
| openssl_sign() padding parameter | Added in PHP 8.5.0. Accepts OPENSSL_PKCS1_PADDING or OPENSSL_PKCS1_PSS_PADDING. | Does not exist in PHP versions before 8.5.0. The default algorithm is OPENSSL_ALGO_SHA1. | PHP manual, openssl_sign, checked 3 December 2026 |
| ext-pqcrypto (third-party) | A Paragon extension implementing ML-KEM, ML-DSA and SLH-DSA. Requires PHP 8.1 or later and a Rust nightly toolchain at rustc 1.85 or later. | Not part of PHP core. The repository shows no published releases as of 3 December 2026. Paragon says it has not been audited. | ext-pqcrypto repository and Paragon blog, April 2026 |
Where PHP's public-key code sits in the stack
The public-key parts of PHP's cryptography sit in two places: the stream and OpenSSL layers, and the sodium extension. In the stream layer, TLS key exchange and certificate signatures happen during the handshake of ssl:// and tls:// connections. The OpenSSL extension, ext/openssl, exposes the asymmetric key types directly: RSA, DSA, DH and EC keys through openssl_pkey_new(), and since PHP 8.4.0, X25519, X448, Ed25519 and Ed448 keys as well. In the sodium extension, Ed25519 signatures come through sodium_crypto_sign*, and Curve25519-based public-key encryption and key exchange come through sodium_crypto_box* and sodium_crypto_kx_*. An inventory of public-key use should start from these entry points.
Not everything in the cryptography surface is public-key. openssl_encrypt() ciphers are symmetric, and password_hash() is a hashing feature that defaults to bcrypt through PASSWORD_DEFAULT, so neither belongs in the public-key inventory, though each still needs its own review for algorithm and parameter choices. The sodium Argon2 functions under sodium_crypto_pwhash* are also hashing rather than public-key. Keeping these separate prevents an inventory from counting password hashing or bulk encryption as key-exchange or signature dependencies, which would change the migration work each item requires.
The https:// and ftps:// wrappers use ssl:// underneath, so the SSL context options apply to them too. The options verify_peer, verify_peer_name, ciphers, crypto_method, local_cert and local_pk set through a stream context therefore affect HTTPS and FTPS calls as well as raw sockets. Reviewers should check these options wherever they appear in application code, not only in code that calls stream_socket_client() directly. The PHP manual pages checked for the OpenSSL extension, the SSL context options and the sodium extension list no ML-KEM, ML-DSA or SLH-DSA functions, constants or options, so the public-key items found in this inventory are the ones to plan against today.
Which PHP components an upgrade changes
An upgrade touches the linked OpenSSL library, the stream context options that set TLS behavior, the php.ini directives that point to trust stores, the sodium extension, the key and CSR functions, and the build options. Each component below states what an upgrade could change, what the sources checked do not establish, and the check that closes the gap.
OpenSSL extension and linked library
The OpenSSL extension is a binding to the OpenSSL library and handles encryption, signing, X509 and TLS streams. An upgrade can change the linked OpenSSL version, which in turn changes the available algorithms and curves. On Windows, PHP 8.2.0 and later use OpenSSL 3.0.0 by default, and legacy algorithms such as rc4 and des-ecb are unavailable unless the legacy provider is loaded. The sources checked do not list any ML-KEM or ML-DSA functions in this extension. Run php -i | grep -i openssl on each target build to confirm the linked version.
SSL context options
The ssl:// and tls:// stream transports take context options for ciphers, crypto_method, min_proto_version and max_proto_version, and certificate settings. These options also apply to https:// and ftps://. Where security_level, min_proto_version and max_proto_version are not set, the OpenSSL library default applies, so an upgraded library can change the negotiated result without a code change. Confirm the effective values with a test handshake against each target build, since the sources do not state the default protocol floor.
SSL context optionsopenssl.cafile, openssl.capath and openssl.libctx
These php.ini directives set the default trust store and the OpenSSL library context. Both cafile and capath default to an empty string, and all three are INI_PERDIR, so they cannot be changed with ini_set() at runtime. An upgrade that moves the trust bundle or changes the library context can alter which certificate chains verify. The sources do not state how a distribution packages the default bundle. Check the effective values with php -i on each target host.
The sodium extension
The sodium extension provides Ed25519 signatures, public-key encryption and key exchange through the sodium_crypto_box* and sodium_crypto_kx_* families, and Argon2 password hashing. These are the public-key operations that sit outside ext/openssl. An upgrade of the bundled libsodium can change behavior, and the sources do not state which libsodium version ships with each PHP release. Check the reported library version with sodium_crypto_* capability calls or php -i on each target build.
openssl_pkey_new and openssl_csr_new key settings
openssl_pkey_new() supports RSA, DSA, DH and EC keys, and since PHP 8.4.0 it also supports x25519, x448, ed25519 and ed448. The page does not state a default private_key_bits. For openssl_csr_new(), digest_alg and private_key_bits come from default_md and default_bits in openssl.cnf unless overridden, and the manual gives no hard-coded default for either. Upgrades that change openssl.cnf or the key type in code can change issued key sizes. Record the key type and size each code path generates, and confirm them against openssl.cnf on each host.
openssl_pkey_new docsBuild options
The build option --with-system-ciphers makes PHP use the system cipher list in place of its hard-coded default, so a custom build can behave differently from a stock build of the same version. A build that links a different OpenSSL than the distribution package also changes the algorithms available. The sources do not say which options the official packages enable. Capture the configure flags of each build and compare them between the current and target builds before rollout.
How the upgrade path differs by PHP line and platform
On Linux, or on any PHP built from source, the OpenSSL extension is a binding to whichever OpenSSL library the build links against, so the upgrade path is largely the path of that system library. The PHP manual describes the extension as providing symmetric and asymmetric encryption, signing, digests and TLS streams, and it notes that OpenSSL has many features the PHP module does not yet support. Changes to TLS and certificate behavior therefore follow the linked library, not PHP alone.
- Linked library version: Confirm which OpenSSL version the PHP binary is linked against with
php -i | grep -i openssl, since this sets the algorithms available to the extension. - Cipher list source: The build option
--with-system-ciphersmakes PHP use the system cipher list instead of its hard-coded default, so check which of the two your build uses. - Stream context defaults:
verify_peerandverify_peer_namedefault to true,allow_self_signeddefaults to false, andciphersdefaults to DEFAULT. Review anyssl://,tls://,orftps://` code that overrides these. - Certificate and key settings:
local_cert,local_pk,cafileandcapathset TLS material per stream, whileopenssl.cafileandopenssl.capathare INI_PERDIR and cannot be changed withini_set(). - TLS method selection:
stream_socket_enable_crypto()throws a ValueError on PHP 8.0.0 and later when no method is passed and the context has nocrypto_methodoption.
As of 3 December 2026, the manual pages checked for the OpenSSL extension, SSL context options and sodium document no ML-KEM, ML-DSA or SLH-DSA functions, so confirm against your own linked library and your PHP version rather than assuming any post-quantum option exists.
On Windows, PHP 8.2.0 and later use OpenSSL 3.0.0 by default. The PHP manual states that with OpenSSL 3.x, legacy algorithms such as bf-cbc, rc4 and des-ecb are unavailable unless the legacy provider is loaded. Code or data that relies on those algorithms can therefore fail on a Windows build even when nothing else has changed, so the first step is to find where they are used.
- Legacy algorithm use: Search application code and configuration for
bf-cbc,rc4anddes-ecb, since these will not work on the default Windows build unless the legacy provider is loaded. - Legacy provider loading: Confirm whether the deployment loads the OpenSSL legacy provider, and record the reason, because loading it re-enables the older algorithms.
- Installed build: Check the PHP and OpenSSL versions on each Windows host with
php -vandphp -i, since builds from different sources may differ. - Key and certificate handling: Review
openssl_pkey_new(),openssl_csr_new()andopenssl_sign()calls, which take their defaults from OpenSSL configuration and, foropenssl_sign(), default to SHA-1 unless the algorithm is given. - Post-quantum availability: The PHP manual pages checked do not document ML-KEM, ML-DSA or SLH-DSA on Windows, so confirm this with the build you deploy.
If the legacy provider is needed for any dependency, document that dependency and its owner before changing the build, because the upgrade and the legacy exception are separate decisions.
The PHP supported versions page, checked on 3 December 2026, lists PHP 8.6, 8.5, 8.4, 8.3 and 8.2 as supported branches, and gives 31 December 2026 as the end of security support for 8.2. Any deployment still on the 8.2 branch will stop receiving security fixes at that date, which makes the move to a supported branch a time-bound item in the plan, separate from any post-quantum change.
- Security support end date: PHP 8.2 security support ends 31 December 2026, as listed on php.net.
- Current branches: PHP 8.6 was released on 19 November 2026, and 8.5, 8.4 and 8.3 are also listed as supported as of the same check.
- Cipher and OpenSSL behavior: Behavior on the 8.2 branch follows the OpenSSL version it links, and on Windows that is OpenSSL 3.0.0 by default from 8.2.0, so the legacy algorithm issue applies there too.
- Post-quantum support on 8.2: The checked pages show no ML-KEM, ML-DSA or SLH-DSA functions, and the PHP project issue on post-quantum support, php-src issue #22862, was open with no maintainer plan as of 3 December 2026.
- Upgrade scheduling: Confirm with the platform owner which PHP line each application runs and when it can move, since the end-of-support date does not depend on any post-quantum work.
Before planning any post-quantum change on 8.2, confirm the target branch and its support window, because a change made on a branch that loses security support on 31 December 2026 would need repeating.
Decision path for a PHP post-quantum upgrade
The path starts by checking the PHP branch in use against the branches php.net lists as supported as of 3 December 2026 (8.2 through 8.6, with 8.2 security support ending 31 December 2026). Next, identify which extensions and stream wrappers carry TLS or signatures: the OpenSSL extension, the ssl:// and tls:// transports (including https:// and ftps://), and sodium for Ed25519 and Curve25519 operations. For each use, check whether PHP core offers a post-quantum algorithm. None is documented in the manual pages checked, and php-src issue #22862 is open with no maintainer plan. If none exists, the path leads to configuration review of TLS and key settings. Evaluating a third-party extension such as ext-pqcrypto is the other branch, with Paragon's April 2026 caveats about bugs and audit status applied.
Decision path from PHP branch check to configuration review or third-party extension evaluation.
What to do next, in order
This sequence turns the PHP upgrade question into a dated inventory of your own code and runtimes. Each step ends with a check you can record, so the team knows which PHP branch, OpenSSL build and cipher settings it depends on before planning any change.
Confirm the PHP branch and support end date
Identify the PHP branch each application runs (for example 8.2, 8.3, 8.4, 8.5 or 8.6) and look up its support end date on the supported versions page. As of 3 December 2026, 8.2 security support ends 31 December 2026, so any system on that branch needs a planned move before then. Owner: the application or platform team. Check: a table listing each application, its PHP branch and the security support end date, reviewed by the security lead.
Inventory every network and crypto call
Search the codebase and dependencies for ssl://, tls://, ftps:// and stream_socket_enable_crypto() callers, and for openssl_* and sodium_* calls. Record the file, the function and whether it handles key exchange, certificate signing, symmetric encryption or hashing, since only the first two depend on public-key algorithms. Owner: developers, with a security reviewer. Check: a reviewed inventory file in the repository that lists every match, with none left unclassified.
Record the OpenSSL version and build options
Run php -i and record the linked OpenSSL version, and note whether the build used --with-system-ciphers, since that option switches PHP from its hard-coded cipher default to the system list. On Windows, record whether PHP 8.2 or later is using OpenSSL 3.0.0 and whether the legacy provider is loaded. Owner: the platform team that builds or installs PHP. Check: the output of php -i saved against each environment in the inventory.
Set peer verification explicitly where code relies on defaults
Find TLS client code that leaves verify_peer, verify_peer_name or allow_self_signed unset. The defaults are true, true and false, but code that copies options from older examples may override them. Where a default is relied on, write the value explicitly in the context options so the setting is visible in review. Owner: application developers. Check: a code review finding of zero stream contexts that depend on implicit peer verification settings.
Plan cipher and protocol settings from context options
For each ssl:// caller, note the ciphers, security_level, min_proto_version and max_proto_version values, and the crypto_method used in stream_socket_enable_crypto(). Where none is set, record that OpenSSL's library default applies. Note that PHP 8.0.0 and later throw a ValueError if no method is passed and the context has no crypto_method option. Owner: security engineers with the developers. Check: a settings table per endpoint, with each value stated or marked as library default.
Test third-party extensions only outside production
If the team is evaluating a third-party extension such as ext-pqcrypto, install it only in a non-production environment with a pinned PHP version. Its maintainers said in April 2026 that it has not been audited and that bugs should be expected, and the repository showed no published releases as of 3 December 2026. Owner: platform team, in an isolated test system. Check: a dated test record covering the build, the PHP version, the test cases run and the outcome.
Ask the vendor and project the questions
Send the questions to the PHP project and to any extension or hosting vendor in use, asking whether ML-KEM, ML-DSA or SLH-DSA support is planned, through what process, and under what timeline. The php-src issue on post-quantum support was still open with no maintainer plan as of 3 December 2026, so ask for any written commitment. Owner: procurement or security lead. Check: written responses on file, or a record that none were given.
What PHP core has not published, and what to ask
The PHP manual and the php-src tracker do not show post-quantum algorithms in core as of 3 December 2026. The cards below set out what is missing, the open tracker items that concern it, and the third-party extension that some teams look at instead, with the evidence to request from each.
No post-quantum functions in the manual
The OpenSSL extension, the SSL context options and the sodium extension pages in the PHP manual, checked on 3 December 2026, list no ML-KEM, ML-DSA or SLH-DSA functions, constants or options. Ask the PHP project or your distribution whether any of these will appear in ext/openssl or sodium, and in which release. Request the planned function names and the release notes for any build that adds them. Until those exist, a post-quantum key exchange or signature cannot be selected through PHP's own APIs.
OpenSSL manualCore tracking issue still needs an RFC
php-src issue #22862, Add Post-Quantum Cryptography Support, was opened on 22 July 2026. As of 3 December 2026 it is open, labeled Status: Requires RFC, assigned to bukka, and has no written comments or maintainer plan. Ask the project whether an RFC will be written, who will write it and what milestone it targets. Request a link to any RFC or design document. Without one, the issue shows intent to discuss rather than a committed implementation.
Issue 22862Duplicate request closed in favor of 22862
php-src issue #23421 asked ext/openssl to expose ML-KEM and ML-DSA. It was closed as a duplicate of #22862 on 25 August 2026, so the request now lives in the same open item. Ask whether the closure means the scope of #22862 includes both algorithms and the X-Wing style hybrid modes. Request the scope text from the tracking issue, since the closure notice alone does not describe what will be built.
Issue 23421Third-party extension is unaudited
ext-pqcrypto, by Paragon Initiative Enterprises, is a third-party extension and not part of PHP core. It implements ML-KEM, ML-DSA, SLH-DSA and an X-Wing hybrid, and it requires PHP 8.1 or later and a Rust nightly toolchain. Paragon's April 2026 announcement said neither it nor the pure-PHP companion has been audited and warned against production use for now. Ask the author for an independent audit report and its scope. Request the list of changes since the announcement before any deployment decision.
Paragon announcementWhat can go wrong during an upgrade
The first risk is timing. As of 3 December 2026, php.net lists PHP 8.2 as supported only until 31 December 2026, so a planner who puts off the move to PHP 8.6 or 8.5 past that date will be running a branch with no security support. Upgrades that change PHP's runtime also change TLS behavior without any code edit. The ssl:// transport and the https and ftps wrappers that use it take their default cipher list from the context option ciphers, which defaults to DEFAULT, and the options security_level, min_proto_version and max_proto_version fall back to the OpenSSL library default when unset. Those defaults come from the OpenSSL build linked into each PHP build, so two servers running the same PHP version can negotiate differently after a library update. Test the connections your application makes to each outbound endpoint on the new runtime and compare the negotiated protocol and cipher with the old one.
Second, some calls keep working but change result. openssl_sign() defaults its algorithm parameter to OPENSSL_ALGO_SHA1, so code that omits the algorithm will keep producing SHA-1 signatures. The optional padding parameter, which accepts OPENSSL_PKCS1_PADDING or OPENSSL_PKCS1_PSS_PADDING, exists only from PHP 8.5.0, so code that passes it will fail on any earlier branch. Review every signing call and pass the algorithm and padding explicitly. A separate failure mode is stream_socket_enable_crypto(): since PHP 8.0.0, if no method is passed and the stream context has no crypto_method option, it throws a ValueError. Search the codebase for calls without a method argument, and check that each one still works on the target version. On Windows, PHP 8.2.0 and later use OpenSSL 3.0.0 by default, so legacy algorithms such as bf-cbc, rc4 and des-ecb are unavailable unless the legacy provider is loaded.
Third, do not put pre-release extensions into production on the strength of the PHP upgrade. The third-party extension ext-pqcrypto implements ML-KEM, ML-DSA and SLH-DSA, but Paragon said on 7 April 2026 that it has not been audited, that there will be bugs, and that it should not be rushed into production. Its repository showed no published releases on 3 December 2026. If a team evaluates it, run it only in a non-production environment, confirm the Rust toolchain requirement (rustc 1.85 or later on the nightly channel) fits its build pipeline, and record the known-bug status at the time of the decision.
Questions planners and vendor-risk reviewers ask
Is PHP quantum safe?
The sources checked do not support calling PHP quantum safe. The PHP manual describes the OpenSSL extension as providing RSA, DSA, DH, EC, X25519 and Ed25519 key operations, TLS streams and signatures, and the sodium extension as providing Ed25519, X25519-based key exchange and Argon2 hashing. As of 3 December 2026, the manual pages checked for the OpenSSL extension, the SSL context options and sodium document no ML-KEM, ML-DSA or SLH-DSA functions, constants or options. The public-key parts of PHP's cryptography therefore depend on classical algorithms that a future quantum computer could break. Confirm the current status against the manual pages before recording an answer.
Which PHP version should we run for a post-quantum upgrade?
Start from a branch that is still receiving security support. As of 3 December 2026, php.net lists PHP 8.6 (released 19 November 2026), 8.5, 8.4, 8.3 and 8.2 as supported, and 8.2 security support ends 31 December 2026. Choose the newest branch your application and extensions support, because the project's post-quantum work is not in any released version checked. Confirm the target version against the supported-versions page and your own dependency list before planning the upgrade.
Does a PHP post-quantum upgrade add cost?
It can, and the cost depends on several drivers rather than on a single figure. The sources checked give no price or effort estimate, so ask for one in writing. The main drivers are the number of applications and PHP builds to inventory, whether systems use a system OpenSSL or a bundled one, how many third-party extensions or libraries would need replacing, and how many integrations depend on certificates or keys that would change. One-time work covers inventory, testing and any build or code changes. Recurring cost covers keeping up with new PHP branches and library releases. Ask a quote to state which of these it covers and how it treats a third-party extension.
Are hybrid post-quantum modes available in PHP core?
Not in PHP core, based on the sources checked. The OpenSSL and sodium documentation on the PHP manual does not describe hybrid key exchange or hybrid signatures using post-quantum algorithms. The only post-quantum option found is the third-party extension ext-pqcrypto, which implements a hybrid of X25519 and ML-KEM-768. That extension is not part of PHP core, its repository shows no published releases, and its authors said it has not been audited and should not yet be deployed into production. If a hybrid mode is needed, confirm whether a supported PHP build offers it and what its audit status is.
What breaks when PHP moves to post-quantum algorithms?
The sources checked do not describe a post-quantum migration path in PHP core, so breakage cannot be assessed from them. The likely points of change are the places where the application depends on specific key types or algorithms. These include TLS and certificate code in the OpenSSL extension and stream contexts, signing calls such as openssl_sign(), key generation with openssl_pkey_new() and openssl_csr_new(), and the sodium functions for signatures and key exchange. Check whether your code sets explicit ciphers, crypto_method or curve names, and whether peers you connect to will accept new algorithms. Test these paths in a staging environment before any production change.
What should we ask the PHP vendor or project before upgrading?
Ask for the following in writing, with dates and versions:
- Whether any released PHP branch includes ML-KEM, ML-DSA or SLH-DSA functions, and in which extension
- The status and owner of php-src issue #22862 and any roadmap or RFC it leads to
- Whether your distribution's PHP package links to OpenSSL 3.x and which legacy algorithms it enables
- How the vendor or distribution will handle third-party extensions that implement post-quantum algorithms
- The support window for each PHP branch you plan to run
Record each answer with the date it was given, because the project's position can change between releases.
Can our team do the PHP cryptography inventory itself or do we need outside help?
Your own team can start the inventory, and outside help is useful when the estate is large or the findings need independent review. A useful inventory lists each PHP build and version, the extensions loaded (OpenSSL, sodium and any third-party ones), the TLS and certificate settings in stream contexts, the key types generated or accepted, and the libraries that call PHP cryptography. The PHP manual pages and your php.ini and build configuration are the primary sources. Engagements from DeployOpen are scoped in writing before work starts, and DeployOpen does not publish a price list, so ask for a quote tied to a defined scope.
How DeployOpen helps plan a PHP post-quantum upgrade
DeployOpen plans PHP post-quantum upgrade work as a fixed-scope engagement, starting from the runtime versions, OpenSSL build, stream code and Composer dependencies your applications actually use. The work is scoped and documented in writing before changes begin, with ongoing support available as a retainer.
How we scope
- Inventory which PHP branches are in use, such as 8.2, which reaches end of security support on 31 December 2026, and which are supported today.
- Record where code calls the OpenSSL extension, sodium, ssl:// and tls:// streams, and openssl_pkey_new() or openssl_sign().
- Agree in writing which applications, packages and build variants are in scope, and what deliverables and timelines apply.
How we build
- Check the linked OpenSSL version and any system cipher configuration, including whether the build uses --with-system-ciphers.
- Review SSL context options such as crypto_method, ciphers, min_proto_version and local_cert for the streams your code opens.
- Test the change in a staging copy of each application, using the PHP version and OpenSSL build your production systems will run.
How we hand over
- Document each runtime, extension and certificate setting changed, with the PHP version and OpenSSL version it applies to.
- Record which findings still lack support in the PHP manual or php-src, so your team can track them against the vendor's stated plans.
- Deliver an inventory of remaining public-key uses, so your security and vendor-risk reviewers can record the state of the upgrade.
How we support
- Offer ongoing upgrades and continuous testing as a retainer after the fixed-scope engagement ends.
- Retest affected applications when PHP branches change status or when a new release adds OpenSSL or sodium options.
- Confirm with the PHP project, in its documentation or issue tracker, before relying on any post-quantum extension for production use.

