Is there a way to set a different PHP module per Virtual Host?

前端 未结 4 584
南方客
南方客 2021-02-04 14:51

I\'m developing for a bunch of sites on my local machine. Some of those sites ultimately run on php5.3, and some run on php5.2. Is there a way I can setup virtual hosts to use d

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-04 15:55

    You could try to run php as cgi. I don't know if it works, you have to pass different php.ini locations to the cgi for things like different temp dirs. Wouldn't recommend it on a production machine.

提交回复
热议问题