spekulatius/silverstripe-phpinfo

This package is abandoned and no longer maintained. No replacement package was suggested.

Prints phpinfo as task for admins

0.1.3 2016-07-09 06:16 UTC

This package is auto-updated.

Last update: 2020-09-11 05:34:21 UTC


README

Give you a chance to view the phpinfo() output as a task. Requires admin permissions.

Do not permanently install this! Only use this if you are know what you are doing!

Why?

Sometimes you have to work with servers you can't ssh into and get more information about e.g. installed packages or versions. This package allows you get the information if you have admin privileges.

Requirements

  • PHP >= 5.6
  • SilverStripe Framework ~3.0.

Usage

You should not leave this package installed permanently because it could give a potential attacker information about your environment!

For the installation you can either download the package, unzip it into your project directory and run dev build manually or run the following commands in your project directory:

  1. Install into your project:

    composer require spekulatius/silverstripe-phpinfo
    
  2. Deploy onto the environment in question.

  3. Login as a admin

  4. Go on yourproject.com/dev/tasks and find the phpinfo task...

  5. Remove package:

    composer remove spekulatius/silverstripe-phpinfo
    
  6. Deploy again onto the environment to remove the package from the server!

MISC: Future ideas/development, issues, Contributing, License