How do I run Django and PHP together on one Apache server?

前端 未结 4 504
别那么骄傲
别那么骄傲 2020-11-30 17:29

I can currently run either Django through mod_wsgi or PHP on my Apache server.

My Django projects run at: http://localhost and source is at C:/django_proj

My

4条回答
  •  孤独总比滥情好
    2020-11-30 18:17

    I had the same problem. Try removing this block in httpd-conf.

    Include httpd-vhost.conf and and try puting my WSGIScriptAlias / "/somewhere/file.wsgi" in virtual host section of httpd-vhosts which listens to port 80.

提交回复
热议问题