-
Notifications
You must be signed in to change notification settings - Fork 65
feat: add phpinfo #469
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
feat: add phpinfo #469
Conversation
MichaIng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. This makes it easier for admins to check PHP configs, and whether theirs are applied as expected. I am thinking about OPcache, but helpful for other things as well.
Approving only the idea here, as I did not find time to test it yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and seems to work, just one small question :)
templates/settings-admin.php
Outdated
| <em id="phpExtensions"><?php p($_['php']['extensions'] !== null ? implode(', ', $_['php']['extensions']) : $l->t('Unable to list extensions')); ?></em> | ||
| </p> | ||
| <p> | ||
| <a target="_blank" href="<?= $_['phpinfoUrl'] ?>">phpinfo</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we make this a button somehow? Currently it is not good to discover imho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe use the primary color for it?
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
3e5c9ee to
a5998e2
Compare
|
|
||
| Show phpinfo | ||
|
|
||
| ``php occ config:app:set --value=yes serverinfo phpinfo`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you making the feature opt-in instead opt-out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Joas suggested it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make it opt-out instead?
Documents the functionality added in nextcloud/serverinfo#469 Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
No description provided.