Skip to content

Windows 11 Smart App Control blocks php8ts.dll in PHP 8.4.28 (8.4.27 works) #25711

Todo

Description

@Michele-COS

Description

Description

On Windows 11 with Smart App Control enabled, the official PHP 8.4.28 Windows x64 Thread Safe distribution is blocked when php.exe attempts to load php8ts.dll.

The previously installed PHP 8.4.27 distribution works correctly on the same machine under the current Windows security configuration.

Environment

  • Operating system: Windows 11
  • Previous working version: PHP 8.4.27
  • Affected version: PHP 8.4.28
  • Distribution: php-8.4.28-Win32-vs17-x64.zip
  • Architecture: x64
  • Build: Thread Safe (ZTS), Visual C++ 2022
  • Security feature: Windows Smart App Control

Steps to reproduce

  1. Download the official PHP 8.4.28 Windows x64 Thread Safe ZIP distribution.
  2. Verify the SHA-256 checksum against the official published value.
  3. Extract the ZIP into a separate directory.
  4. Attempt to launch php.exe from the extracted PHP 8.4.28 directory.
  5. Windows blocks the loading of php8ts.dll.

Actual behavior

Windows Security displays a warning that part of the application has been blocked because the publisher of php8ts.dll cannot be verified.

The Windows Event Viewer records the following Code Integrity event:

  • Event log: Microsoft-Windows-CodeIntegrity/Operational
  • Event ID: 3077
  • Affected process: php.exe
  • Blocked module: php8ts.dll
  • Reason: The DLL did not meet the Enterprise signing level requirements or violated code integrity policy.

The relevant event message includes:

"Code Integrity determined that a process (...) attempted to load (...) php8ts.dll that did not meet the Enterprise signing level requirements or violated code integrity policy."

Expected behavior

PHP 8.4.28 should start successfully on the same Windows installation, as PHP 8.4.27 does, without requiring Smart App Control to be disabled.

Additional diagnostics

The following checks have been performed:

  • The downloaded PHP 8.4.28 ZIP matches the official SHA-256 checksum.
  • php.exe and php8ts.dll are both present in the extracted PHP 8.4.28 directory.
  • Get-AuthenticodeSignature reports NotSigned for both the PHP 8.4.27 and PHP 8.4.28 versions of php8ts.dll.
  • Neither extracted DLL has a Zone.Identifier alternate data stream.
  • The downloaded ZIP itself has a Zone.Identifier stream.
  • PHP 8.4.27 successfully executes php.exe -n -v on the same system.
  • The affected PHP 8.4.28 installation was tested separately, without replacing the working PHP 8.4.27 installation.

Question

Could this be related to the code-signing or reputation requirements applied by Windows Smart App Control to newly released PHP binaries?

Is there a recommended or officially supported way to deploy the PHP 8.4.28 Windows Thread Safe distribution on systems with Smart App Control enabled, without disabling Windows security protections?

Thank you for your help.

PHP Version

PHP 8.4.28 — Windows x64 Thread Safe (ZTS), VS17
Official ZIP: php-8.4.28-Win32-vs17-x64.zip

The affected PHP version cannot be started successfully
because Windows Smart App Control blocks php8ts.dll.

Working comparison:
PHP 8.4.27 (cli) (built: Oct 26 2026 09:50:23)
(ZTS Visual C++ 2022 x64)
Zend Engine v4.4.27

Operating System

Windows 11 x64 — Smart App Control enabled

Activity

  1. shivammathur commented on Nov 24, 2026

    @shivammathur
    Member

    We have not signed the Windows builds until now, will look into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions