This file is part of Plesk distribution. It cannot be run outside of Plesk environment

Created:

2016-11-16 13:08:02 UTC

Modified:

2017-08-16 16:04:56 UTC

0

Was this article helpful?


Have more questions?

Submit a request

This file is part of Plesk distribution. It cannot be run outside of Plesk environment

Applicable to:

  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows

Symptoms

Plesk login page shows the following error:

This file is part of Plesk distribution. It cannot be run outside of Plesk environment.

Cause

Incorrect syntax in Plesk php.ini configuration file in %plesk_dir%admin\\conf directory.

Resolution

  1. Rename C:\\ParallelsInstaller directory to C:\\ParallelsInstaller_bak

  2. Run Plesk autoinstaller from command prompt and it should fail with some syntax error like below:

    "%plesk_bin%\\ai.exe" --console

    This file is part of Plesk distribution. It cannot be run outside of Plesk environment.
    PHP: syntax error, unexpected END_OF_LINE, expecting '=' in C:\\Program Files (x
    86)\\Parallels\\Plesk\\admin\\conf\\php.ini on line 2
  3. Check and correct the syntax of php.ini using the output from the above command (in example line 2 has incorrect syntax).

  4. Recreate Plesk website by executing the following commands:

    "%plesk_bin%\\websrvmng.exe" --configure-anonymous-access
    "%plesk_bin%\\websrvmng.exe" --remove-sites-cache
    "%plesk_bin%\\websrvmng.exe" --configure-plesk-website
Have more questions? Submit a request
Please sign in to leave a comment.