benallfree / mampenv

mampenv is PHP shims for MAMP.
6 stars 2 forks source link

Default PHP version #2

Open tumispro opened 4 years ago

tumispro commented 4 years ago

It would be useful to be able to add a default PHP version, so running standalone PHP scripts works without having to set a version in some random directory.

anotherjames commented 1 year ago

This would be ace, but it's relatively easy to make a workaround: simply run something like mampenv init 7.4.30 in a directory above any directories you might want to use PHP in. e.g. I did this in my home directory, but presumably you could even do it from the root directory. Perhaps this is a step worth adding to the repo readme if no-one can make an 'actual' fix?