A missing PHP executable can cause the Plesk panel on Windows to return a 500 Internal Server Error. This procedure addresses that specific fault; a 500 error on its own can have many other causes.

Confirm the cause

  1. Sign in to the Windows server using an authorised administrative account.
  2. Review the Plesk error details and relevant logs.
  3. Check whether %plesk_dir%\admin\engine\php-cgi.exe is missing.
  4. Check antivirus quarantine and its event log if security software is installed.

Failures opening panel PHP pages or generating a one-time login link can accompany this issue, but confirm the missing file before attempting restoration.

Restore the missing executable

If antivirus quarantined the file, verify its origin and the reason for detection before restoring it. Otherwise, use a verified file from the same Plesk version and build, following Plesk support’s recovery procedure. Do not download a PHP executable from an untrusted source or substitute an arbitrary older version.

Review any security exclusion with the server administrator and antivirus vendor. Avoid excluding the entire Plesk directory without checking the security implications.

Verify the panel

Open the panel and test normal administration. If the executable is present or the error remains, investigate the actual logged cause rather than repeating this fix. Preserve the error details for support.