GithubHelp home page GithubHelp logo

Comments (10)

ferventcoder avatar ferventcoder commented on June 2, 2024 1

Likely.

from chocolatey-packages.

ferventcoder avatar ferventcoder commented on June 2, 2024

Is PHP like Ruby in that it can be installed multiple times?

from chocolatey-packages.

laurinkeithdavis avatar laurinkeithdavis commented on June 2, 2024

Yes.

from chocolatey-packages.

ferventcoder avatar ferventcoder commented on June 2, 2024

@majkinetor created chocolatey-community/chocolatey-packages#425 to address this.

from chocolatey-packages.

ferventcoder avatar ferventcoder commented on June 2, 2024

We'll keep it open here until it is implemented there.

from chocolatey-packages.

majkinetor avatar majkinetor commented on June 2, 2024

@ferventcoder, can I recognize the -m switch from within chocolateyInstaller ?

from chocolatey-packages.

ferventcoder avatar ferventcoder commented on June 2, 2024

Nada - the trick is usually to explicitly set the install directory to php### where # is the accepted versioning convention that is most widely used - for instance it could be 5.4 or 5.4.x and then 5.5. I am not typically using php so I don't know what that should look like.

In Ruby it is:

  • Ruby1.8.7
  • Ruby1.9.3
  • Ruby2.0.0
  • Ruby2.1
  • Ruby2.3

Or something like that. Away from my computer at the moment, the versioning changed after 2.0.0 to be more SemVer compliant (at least in numbering).

from chocolatey-packages.

majkinetor avatar majkinetor commented on June 2, 2024

Rob, that is not the problem. I already did the same thing for python. The problem is how to handle existing users on update. My plan was to still install to the old location if you don't care for multiple versions. Since that is not possible installer code would have to check for older installation.

from chocolatey-packages.

ferventcoder avatar ferventcoder commented on June 2, 2024

usually folks use -m (or side by side installs) and then they pin those installs so they don't upgrade. There is a better story for upgrades in that kind of set up coming later.

from chocolatey-packages.

photodude avatar photodude commented on June 2, 2024

I'm assuming this issue can be closed now that @AdmiringWorm has push chocolatey-community/chocolatey-packages#548 with the function for this

from chocolatey-packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.