Skip to content

phpinfo command #702

Description

@shyim

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.

Activity

  1. dunglas commented on Apr 2, 2024

    @dunglas
    Member

    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.

  2. kkovacs commented on Apr 6, 2024

    @kkovacs

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

  3. henderkes commented on May 28, 2026

    @henderkes
    Contributor

    This is tracked upstream here: php/php-src#21385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions