#Activeperl 5.10 download windows install#(optional) Install additional Python modules if necessary:Ĭ:\> C:\Python27> python.exe -m pip install SomePackageĬreate the file %plesk_dir%\etc\DiskSecurity\python.xml with the following content:Ĭ:\> plesk bin repair -directory-permissions -directory "C:\Python27"Īllow the Python executable in IIS ISAPI and CGI Restrictions:Ĭ:\> plesk sbin websrvmng -add-extension "-file=C:\Python27\python.exe -u \"%s\" %s" "-description=Python" -group=PYTHONĬonfigure the IIS handler manually for websites that need to handle Python files by adding the following section inside the section in the file %plesk_vhosts%\\httpdocs\web.config:ĭownload the Strawberry Perl MSI from the page Install the downloaded MSI to the default location. Python (from )ĭownload the Python MSI installer from the page. After that, Perl and Python can be used on websites directly. The solution below can be used to configure Perl and Python handler mappings directly in IIS. Note: Plesk does not officially support Strawberry Perl and Python from. It is not guaranteed that a website will work properly if it is run by Strawberry Perl and Python (from ). The list of Perl and Python packages shipped with ActiveState products differs from the ones shipped with Strawberry Perl and Python (from ) distributives. Warning: The instructions below work for Plesk Onyx 17.8 and Plesk Obsidian only!
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |