Article ID: 1339, created on Oct 6, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk 8.x for Windows
  • Plesk 7.x for Windows


When attempting to log into Plesk Panel, the following message is displayed:

The file filename.php is part of Plesk distribution. It cannot be run outside of Plesk environment.


A *The .php file cannot be decrypted by the Plesk engine.  This could have been caused by one of the following two issues:

1. The Plesk key installed is invalid. This means that you could have installed a Plesk key for Linux, not for Windows or visa versa.

2. The Plesk php environment is corrupted.


To fix the first cause you need to complete the following steps:

1. Close your browser, or make sure that your browser does not show cached web pages.

2. Stop the Plesk Control Panel Service.

3. Remove all files from within %plesk_dir%PrivateTemp directory. Reset current Plesk to the default PLSK.00000000.0000. You can do this by using defpkey.reg attached to this article.

4. Start the Plesk Control Panel Service.

5. Re-upload the valid Plesk key straight from Plesk Panel. You can upload the PLSK.XXXXXXXX.XXXX.exe key.

To fix the second cause you need to complete the following steps:

1. Switch Plesk web server to another provider.

If IIS is used as Plesk web server switch it to Apache:

%plesk_bin%\reconfigurator.exe --switch-plesk-web-server --new-provider=apache

If Apache is used as Plesk web server switch it to IIS:

%plesk_bin%\reconfigurator.exe --switch-plesk-web-server --new-provider=iis

Check if Plesk works correctly once these steps are completed. If the same error is displayed, the Plesk PHP files were corrupted. In this case, you need to run Plesk Repair in Add or Remove Programs.


85a92ca67f2200d36506862eaa6ed6b8 a914db3fdc7a53ddcfd1b2db8f5a1b9c c45acecf540ecd42a4bbfb242ce02b1d c0c38d2367acfa8909699e0b34b01dea 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF