Advertisement
HexisNou

Installazione SERVER with python

Jun 5th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. 1) Installare Python 3.6, installazione standard con opzione "setta anche variabili d'ambiente"
  2. 2) Copiare Apache24 in c:\
  3. 3) aggiungere in site-packages di python <..> Python36-32\Lib\site-packages\mod_wsgi
  4. 4) Aggiugnere in site-packeges di python <...> Python36-32\Lib\site-packages\mod_wsgi-4.6.4-py3.6.egg-info
  5. 5) sistemare le variabili di apache23/conf/http.conf
  6. LoadFile "c:/users/loren/appdata/local/programs/python/python36-32/python36.dll"
  7. LoadModule wsgi_module "c:/users/loren/appdata/local/programs/python/python36-32/lib/site-packages/mod_wsgi/server/mod_wsgi.cp36-win32.pyd"
  8. WSGIPythonHome "c:/users/loren/appdata/local/programs/python/python36-32"
  9.  
  10. in modo tale che puntino alla directory o file corretto.
  11.  
  12. 6)da C:\Apache24\bin
  13. httpd.exe -k install -n "PairaProductionServer"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement