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

前端 未结 8 1061
遇见更好的自我
遇见更好的自我 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:21

    As of now, there is no out of the box solution to this problem. The only solution which comes close is Vagrant and puPHPet.com as discussed here: https://drupal.org/node/2055947 Why can't we have an environment like python's virtualenv or ruby's rbenv? It makes up a nice open source project. Multiple instances of PHP can be handy if we want to test out some libraries in sandboxes rather than globally. We can install dependencies for different projects using a package manager like Composer.

提交回复
热议问题