Comments (3)
I'm currently working on a complete refactoring of how PHP is detected :)
I intend to produce a result similar to Symfony's one, sorted by versions:
$ symfony local:php:list
┌─────────┬──────────────┬─────────┬─────────┬─────────────┬─────────┬─────────┐
│ Version │ Directory │ PHP CLI │ PHP FPM │ PHP CGI │ Server │ System? │
├─────────┼──────────────┼─────────┼─────────┼─────────────┼─────────┼─────────┤
│ 7.4.2 │ E:\dev\php74 │ php.exe │ │ php-cgi.exe │ PHP CGI │ * │
└─────────┴──────────────┴─────────┴─────────┴─────────────┴─────────┴─────────┘
The current PHP version is selected from default version in $PATH
To control the version used in a directory, create a .php-version file that contains the version number (e.g. 7.2 or 7.2.15).
from rymfony.
I works great !
Thanks @Orbitaleio
from rymfony.
@jdecool I'm going to close this issue as it's supposed to be fixed on the latest builds, feel free to reopen if you still encounter this issue
from rymfony.
Related Issues (20)
- [PHP] CGI server healthcheck HOT 1
- Forks cannot build with Github actions HOT 2
- [DOC] How to select the SAPI on serve comand HOT 2
- Error on request HOT 9
- [Windows] Unable to build HOT 4
- [windows] how to provide directory to find PHP HOT 2
- Issues with POST requests HOT 1
- Add RYMFONY_PATH information on command php:list HOT 4
- Rymfony with PHP7.3 cli on Linux HOT 15
- Error on PNG assets access HOT 2
- Autodetect app_dev.php entry_point
- Do not launch PHP if no entrypoint found HOT 2
- Check if PHP Binary exist before launch
- Unable to download binary file from PHP HOT 1
- Detect Systemd presence for php-fpm on *nix systems HOT 1
- PHP does not receive all Cookies sent in HTTP query
- Set-Cookie header lost in response HOT 1
- Handle root user HOT 3
- Tail logs to a file when server is run in the background HOT 1
- php:list on MacOS throws error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rymfony.