Как запустить Python на UWAMP? - PullRequest
       14

Как запустить Python на UWAMP?

0 голосов
/ 07 декабря 2018

Я установил Python на

C:\Users\Ethernet\AppData\Local\Programs\Python\Python37-32

и я использую UWAMP в качестве локального хоста. Я изменил httpd.conf внутри

C:\work\bin\apache\conf\httpd.conf

был

<Directory "{DOCUMENTPATH}/">
        AllowOverride All
        Options Indexes FollowSymLinks
        {ONLINE_MODE}       
    </Directory>

Я изменяю это на

<Directory "{DOCUMENTPATH}/">
        AllowOverride All
        AddHandler cgi-script .cgi .py
        Options Indexes FollowSymLinks ExecCGI
        {ONLINE_MODE}       
    </Directory>

Но теперь я получаю

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at contact@exemple.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
...