Skip to content

Conversation

@kesselb
Copy link
Collaborator

@kesselb kesselb commented Jun 20, 2023

No description provided.

Copy link
Member

@MichaIng MichaIng left a 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.

Copy link
Contributor

@szaimen szaimen left a 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 :)

<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>
Copy link
Contributor

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

Copy link
Contributor

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>
@kesselb kesselb force-pushed the phpinfo-phpinfo-phpinfo branch from 3e5c9ee to a5998e2 Compare June 22, 2023 19:07

Show phpinfo

``php occ config:app:set --value=yes serverinfo phpinfo``
Copy link
Contributor

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Joas suggested it.

Copy link
Contributor

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?

@kesselb kesselb enabled auto-merge July 4, 2023 20:05
@kesselb kesselb disabled auto-merge July 4, 2023 20:05
@kesselb kesselb merged commit 601035a into master Jul 4, 2023
@delete-merged-branch delete-merged-branch bot deleted the phpinfo-phpinfo-phpinfo branch July 4, 2023 20:05
This was referenced Jul 4, 2023
joshtrichards added a commit to joshtrichards/nc-documentation that referenced this pull request Jul 16, 2023
Documents the functionality added in nextcloud/serverinfo#469

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants