开发者

How to add python to XAMPP

开发者 https://www.devze.com 2023-03-26 09:26 出处:网络
I\'ve used all the time XAMPP to test my PHP applications and I got used to it. Now, I would like to start my adventure with Python. I\'ve heard that good solution is using mod_wsgi, but it doesn\'t w

I've used all the time XAMPP to test my PHP applications and I got used to it. Now, I would like to start my adventure with Python. I've heard that good solution is using mod_wsgi, but it doesn't work on my PC. I followed this tutorial: Setting Python Path in Windows XAMPP usin开发者_如何学编程g WSGI

I got these errors:

[Mon Aug 08 12:27:28 2011] [warn] mod_wsgi: Compiled for Python/2.7.
[Mon Aug 08 12:27:28 2011] [warn] mod_wsgi: Runtime using Python/2.7.2.
[Mon Aug 08 12:27:30 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Aug 08 12:27:30 2011] [notice] Digest: done
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Child process is running
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Acquired the start mutex.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting 150 worker threads.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 443.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 80.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 443.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 80.

I don't have installed mod_python. When I enter 'localost/wsgi/test.wsgi' i get 'Error 403' in my browser.

I hope you can help me.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号