Check and/or give insight into PHP configuration #148

Open
opened 2018-11-29 10:26:55 +00:00 by matthijskooijman · 0 comments
matthijskooijman commented 2018-11-29 10:26:55 +00:00 (Migrated from github.com)

It would be useful if (admin) users can somewhere (settings screen?) inspect the PHP configuration, for things like max upload size, mod_rewrite support, file permissions, etc. Most of this stuff can probably be queried by php (e.g. it is also shown in phpinfo).

Of particular note is the mod_rewrite and .htaccess support, which would be useful to check in hypha.php already during installation. Things to check for:

  • Modrewrite disabled in Apache
  • AllowOverride disable in Apache

I'm not sure if these latter two are easily checked, though I think that we can add something to .htaccess that allows checking if the .htaccess is applied (e.g. adding a dummy env var for example). I remember another project that did something clever for this, but I can't quite remember...

It would be useful if (admin) users can somewhere (settings screen?) inspect the PHP configuration, for things like max upload size, mod_rewrite support, file permissions, etc. Most of this stuff can probably be queried by php (e.g. it is also shown in phpinfo). Of particular note is the mod_rewrite and .htaccess support, which would be useful to check in hypha.php already during installation. Things to check for: - Modrewrite disabled in Apache - AllowOverride disable in Apache I'm not sure if these latter two are easily checked, though I *think* that we can add something to .htaccess that allows checking if the .htaccess is applied (e.g. adding a dummy env var for example). I remember another project that did something clever for this, but I can't quite remember...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harmen/hypha#148
No description provided.