Does php have an equivalent to python's virtualenv or ruby's sandbox?

前端 未结 8 1096
遇见更好的自我
遇见更好的自我 2020-12-24 10:42

I\'m used to using python\'s virtualenv tool to create separate environments that can mimic deployment environments for projects I write.

Now, I\'m going to be worki

8条回答
  •  孤城傲影
    2020-12-24 11:22

    Assuming that you are using mod_php, there is no way to load multiple different versions into the same Apache instance. You can run multiple different versions if you're running PHP as CGI or FastCGI, but this will itself introduce some differences in behavior from mod_php.

提交回复
热议问题