spekulatius / silverstripe-phpinfo
Prints phpinfo as task for admins
Installs: 68
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 1
Type:silverstripe-module
Requires
- php: >=4.0.0
- silverstripe/framework: ~3.0
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:
-
Install into your project:
composer require spekulatius/silverstripe-phpinfo
-
Deploy onto the environment in question.
-
Login as a admin
-
Go on yourproject.com/dev/tasks and find the phpinfo task...
-
Remove package:
composer remove spekulatius/silverstripe-phpinfo
-
Deploy again onto the environment to remove the package from the server!