Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpinfo command #702

Open
shyim opened this issue Apr 2, 2024 · 2 comments
Open

phpinfo command #702

shyim opened this issue Apr 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@shyim
Copy link
Contributor

shyim commented Apr 2, 2024

Describe you feature request

Is your feature request related to a problem? Please describe.
It would be nice to have frankenphp php-info and then see the same as creating a file with <?php phpinfo(); and running on it frankenphp php-cli <file>

It's just for

Describe the solution you'd like
Create the file manually and run frankenphp php-cli

Describe alternatives you've considered
A clear and concise description of any alternative solutions
or features you've considered.

@shyim shyim added the enhancement New feature or request label Apr 2, 2024
@dunglas
Copy link
Owner

dunglas commented Apr 2, 2024

What would be even better is to support the same flags as the official PHP CLI for frankenphp php-cli. So we would do frankenphp php-cli -i.

This should be a (somewhat) easy pick, as frankenphp php-cli is basically a copy/paste/adapt of the official PHP CLI SAPI.

@kkovacs
Copy link

kkovacs commented Apr 6, 2024

Seconded: it would be awesome to be able to use the frankenphp binary in lieu of a php binary -- maybe when it is softlinked to the name php (like busybox does)?

That would allow one to run php artisan ... commands, use composer, etc with only the frankenphp binary...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants