Applicable to:
- Plesk Onyx for Windows
Question
How to remove ActivePython and ActivePerl components from a Plesk server?
Answer
Warning: removing ActivePython and ActivePerl from the server with Plesk 12.0 will make SpamAssassin and AWStats stop functioning.
To prevent such a situation upgrade Plesk from 12.x to the latest release.
-
Disable the Perl support and Python support options for all existed service plans in Service Plans > Service_Plan_Name > Hosting Parameters.
Warning: this is a mandatory step: otherwise, handlers will not be removed from domains settings.
-
Log into the server via RDP.
-
Go to Start > Control Panel > Programs and Features.
-
Select ActivePerl or ActivePython and click the Uninstall button:
Click on the screenshot below to expandActivePerl or ActivePython are not presented in the Programs and Features list-
Check if the package is installed using the following PowerShell command:
- For ActivePython:
PS Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match "ActivePython"}
- For ActivePerl:
PS Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match "ActivePerl"}
- For ActivePython:
-
In case the output in the step №1 will not be empty, remove the requried package by executing commands below one by one:
- For ActivePython:
PS $app = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match "ActivePython"}
PS $app.Uninstall()
- For ActivePerl:
PS $app = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match "ActivePerl"}
PS $app.Uninstall()
- For ActivePython:
-
Go to the
%plesk_dir%Adittional
folder and removePerl
andPython
folders if they exist. -
Using the command prompt, check that there are no registry keys in the
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ActiveState
:C:\> reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ActiveState"
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ActiveState\ActivePerl
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ActiveState\ActivePythonIn case the output will not be empty, remove the required package by executing the command:
- For ActivePerl:
C:\> reg delete HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ActiveState\ActivePerl
- For ActivePython:
C:\> reg delete HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ActiveState\ActivePython
- For ActivePerl:
-
-
Back to Plesk and press the Refresh button in Tools & Settings > Server Components.
Comments
0 comments
Please sign in to leave a comment.