ubiquity
ubiquity copied to clipboard
Feature request - Ubiquity serve => Possibility to add php version to use as param
Summary
For developper, Ubiquity serve -h=xxx.xxx.xxx.xxx --phpversion=php7.4 (for example)
Motivation
I test Ubiquity on multiple php version server
Compatibility with Ubiquity's philosophy
- ease of use
Expected results
Actually, i modified Ubiquity script Example : system("php7.4 ../composer.phar require....")
This assumes that the specified php version is accessible from the system PATH. This seems a bit hazardous.
You could also make a small script modifying your PATH, to switch from one version to another, before launching the server... or using Docker
This would be more reliable.
I could... But not satisfied. If you don't use Docker and you have a LAMP server ready to use, you don't modify. I understand your point of view.