frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

phpinfo command

Open shyim opened this issue 1 year ago • 2 comments

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 avatar Apr 02 '24 11:04 shyim

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.

dunglas avatar Apr 02 '24 11:04 dunglas

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...

kkovacs avatar Apr 06 '24 13:04 kkovacs